stripe / stripe-terminal-ios

Stripe Terminal iOS SDK
https://stripe.com/docs/terminal/sdk/ios
Other
104 stars 65 forks source link

requires_payment_method #242

Closed Roniy08 closed 1 year ago

Roniy08 commented 1 year ago

i am retrieving the payment intent that are created on backend

Summary

i am retrieving the payment intent that are created on backend and it got received but stuck at collectionpaymentmethod and give this in log metadata = { }; status = requires_paymentmethod; stripeId = pi> how can I resolve it if payment intent is valid and why does this payment method error comes up as I confirmed with backend that they had added payment method

iOS version

16.0

Installation method

pods

SDK version

pod 'StripeTerminal', '2.0'

Other information

I had used self.collectCancelable = Terminal.shared.collectPaymentMethod(paymentIntent) then calling on Terminal.shared.processPayment(collectPaymentMethodPaymentIntent) on success of collectionpayment method

bric-stripe commented 1 year ago

Hi, status of requires_payment_method is expected in the post-creation state of a PaymentIntent and not an error. More info here. Please use the developer chat for integration support issues like this.