#kwac.
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hi, it looks like you're using out legacy Charges API. I recommend that you migrate to PaymentIntents, https://stripe.com/docs/payments/paymentintents/lifecycle as this makes it simpler to support new payment methods. With your current flow, you'd need to add more. We document it here, https://stripe.com/docs/payments/cash-app-pay/accept-a-payment and https://stripe.com/docs/google-pay.
i accidentally pasted wrong snippet, I use payment intent, but i have currently defined card as only payment method type, do i need to change to this if i want to use cash app?
'payment_method_types' => ['card', 'cashapp'],
also
Also if I have enabled feature to make future charges off session how would that work for those payment methods?
I see, in this case, you can pass the payment method types there and it should work. Alternatively, you can enable automatic payment method, https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods where we offer compatible payment methods to surface depending on what params were passed on the payment intent.
No, some payment methods do not support future usage so that would also affect what payment methods would work when specified.
I see thank you for explanation