Payment
After a long-awaited restructuring, the payment feature is finally online. Authors need to set it up in advance here:
Please note that Stripe currently supports 46 countries, and identity verification may take one or two day to complete.
Once the setup is complete, you can enable the payment feature in "List Settings - Payment Settings" and then set your price:
There is also a new Blockchain payment checkout page:
Misc
Last week, a reader reported a bug:
In the early days, in the pursuit of speed, we indeed implement features in such crude way. The correct approach is to calculate runes instead of characters, something like this:
input = strings.ReplaceAll(input, "\n", "")
asRunes := []rune(input)
if len(asRunes) <= max {
return input
}
suffix := asRunes[len(asRunes)-4 :]
prefixSize := max - 4 - 3
prefix := asRunes[0:prefixSize]
return fmt.Sprintf("%s...%s", string(prefix), string(suffix))
Additionally, we fixed some issues in the UI part and reorganized the list settings. Since there's now a lot of stuff in the list settings, we've moved the more complex push channel settings and payment settings to a separate page.
That's the update for this week! 😊👍🏻