Duplicate payments and uncaptured
I'm seeing a load of problems using the latest versions - don't know whether this is recent regressions as Stripe is new on this system. All are pending contributions for membership with 'record credit card payment' being done by staff. Some work ok. Some record 2 payments on Stripe with 2 in Civi. Some show on Stripe as 'uncaptured' but with a status of 'paid' - they have no customer id/email but show as Completed in Civi (matching by the postcode).
Civi 5.19.2 Stripe 6.3.alpha1 mjwshared 6adeb269
The client has been in contact with Stripe support - their response:
We were discussing this case with our team in order to find the reason why your presenting this inconvenience. Nevertheless, I'd ask you to please check your integration or with your developer is there's any issue at all on your API, and if you have done troubleshooting steps.
In addition, I recommend you to use Stripe's idempotency for safely retrying requests without accidentally performing the same operation twice. It works by saving the resulting status code and body of the first request made for any given idempotency key, regardless of whether it succeeded or failed. This is useful when an API call is disrupted in transit and you do not receive a response. For example, if a request to "create a charge” doesn't respond due to a network connection error, you can retry the request with the same idempotency key to guarantee that no more than one charge is created.
If you'd like to find more information about this, please refer to this link:
https://stripe.com/docs/api/idempotent_requests
Remember that for applying the Stripe's idempotency to your account you'd required development work, but feel free to reach back out if you have any questions.