#mahraamir
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
It seems that the no PaymentMethod was sent when confirming the PaymentIntent.
Could you please share mored details ? How are you doing the tests?
https://stripe.com/docs/payments/cash-app-pay/accept-a-payment
stripe.confirmCashappPayment(
client_secret,
{
payment_method: {
type: 'cashapp',
},
return_url: url
},
sending like this
You should be following the guide I'm sharing above
const {error} = await stripe.confirmPayment({
//Elementsinstance that was used to create the Payment Element
elements,
confirmParams: {
return_url: 'https://example.com/order/123/complete',
},
});
That's for using the Direct API, you must have collected the CashApp Payment Method before
In that part you are just confirming the PaymentIntent and not collecting the PaymentMethod
first you need to use Element or Checkout in order to collect the PaymentMethod
ok let me try that flow and let you know
i wonder, in this flow there is no word 'cashpay' how the flows know we are doing cashpay here?
Because you are seeing the automatic payment methods option
Choose the manual payment methods listing option
if you want just to have cashpay