Regarding the deletion problem, I deleted all the stripe test data, and now I want to delete the user from ghost, I get this error:
Did you have your webhooks set up and configured? Sounds like possibly Ghost tried to delete the stripe subscription but it was already gone maybe Do you have the server side logs from this?
In future - when you delete a member, it will cancel all of their subscriptions - I think we could improve the error message though if that is the case.
but in live could it happen to register several times with the same account? what problems may arise?
Yes it is possible, if your signup flow is payment first, rather than signup followed by payment. Once the payment succeeds we attach it to the member in Ghost. This would be a decision made by the user to make multiple subscription payments through Stripe Checkout.
The subscriptions can be cancelled individually however
I think the webhooks are well configured, if I try to register as a new user and pay I don’t see any kind of error.
I definitely deleted all the data from the stripe, and then tried to delete the user from Ghost.
The user is still on Ghost and I can’t delete it.
Server side error /var/log/nginx:
46....- - [05/Dec/2019:11:03:02 +0100] "DELETE /ghost/api/v3/admin/members/5db4663a711e9a744d628a46/ HTTP/2.0" 404 251 "https://domain.it/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"