tastyigniter / ti-ext-payregister

Payment system for TastyIgniter. Allows you to accept credit card payments using payment gateway supplied by this extension or others.
MIT License
8 stars 21 forks source link

[Bug]: Stripe Payment bounding #46

Open DimiDR opened 7 months ago

DimiDR commented 7 months ago

What happened?

I needed to create an additional Stripe account for doing the payments. My test user had already a credit card saved with stripe "424242...". I added the new Stripe API keys to the admin dashboard. When I wanted to make a payment test I got "no such customer: XX". Stripe has an account ID is saved in TI. Now as I am connected to another Stripe account with the same shop, the Stripe Account ID does not match, as it does not exist.

What did you expect to happen?

I can remove the saved credit card information without any errors. TI saves not only the ID of Stripe, but maybe also the Stripe account. So when the account is changed, it will generate a new user in Stripe.

Version

3.x

What browser are you seeing the problem on?

No response

Relevant log output

No response