beam-community / stripity-stripe

An Elixir Library for Stripe
Other
965 stars 346 forks source link

How to capture PaymentIntent in test #758

Closed oliver-kriska closed 11 months ago

oliver-kriska commented 1 year ago

I would like to ask for suggestion how to use stripe-mock to test Stripe.PaymentIntent.capture/3. Because mock is stateless so every time when I want to call this action I got requires_payment_method error. So I'm not sure how to simulate filling payment form with test card.

Thanks

github-actions[bot] commented 11 months ago

This issue has been automatically marked as "stale:discard". If this issue still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment.

github-actions[bot] commented 11 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!