#vrk-twostep-payments
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.
- vrk18, 16 hours ago, 22 messages
- vrk18-account-support, 20 hours ago, 2 messages
Hi there, I am creating the paymentIntent(including the amount(want to pass the fee on to customers), currency and paymentMethodTypes(mainly card and au_becs_debit)). I am creating the paymentIntent and returning the client secret to create the elements in the frontend before user selecting the payment method. but the fee is different for card payments and au_becs_debit. How can I deal with it ?
Hi, when assing fees to the customer, depending on where you are you'd need to make sure that you comply: https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers
We show you how you can attain the Payment Method id, https://stripe.com/docs/payments/build-a-two-step-confirmation#show-details
Yeah at step 5 server.js line 9 request.body.payment_method_id, it is coming from frontend request, How can I et that in the frontend ?
What does 'How can I et that in the frontend ' mean?
How can i get the PAYMENT_METHOD_ID in the frontend to make the "/summarize-payment" request ?
vrk-twostep-payments
@thorn radish at step 4 earlier you called createPaymentMethod() and got the id there
see line 37 on step 4 // Create the PaymentMethod using the details collected by the Payment Element const {error, paymentMethod} = await stripe.createPaymentMethod({ elements, params: { billing_details: { name: 'Jenny Rosen', } } });