#sarthak_29771

1 messages · Page 1 of 1 (latest)

static sableBOT
#

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.

nova perch
#

how can i help?

plush glade
#

i want to discuss my process first so that you can understand whats the problem

nova perch
#

what do you want to discuss?

plush glade
#

user is booking a car for rental from my website then on the last page user clicks on button reserve and pay on this click customer is created on stripe dashboard and a payment intent is created using stripe api by giving these details :- customer: data.customerID,
setup_future_usage: 'off_session',
amount: priceInCents,
currency: data.currency,
description: 'car rental services',
automatic_payment_methods: {
enabled: true,
}, after this the user is redirected to payments page and make the payment. After successful payment the reservation is made, after this when the user returns the car we check on the vehicles for fines and calculate the total amount pending which i have to deduct automatically, so for this i make a payment intent for auto payment without customer in my flow using this amount: priceInCents,
currency: data.currency,
// automatic_payment_methods: { enabled: true },
customer: data.customerID,
payment_method: data.paymentMethodID,
payment_method_types: data.payment_method_types,
description: 'car rental services',
off_session: true,
confirm: true, but when i hit the api my stripe dashboard shows payment is failed and is declined by bank

nova perch
#

what's the paymentIntent ID?

plush glade
#

successful payment id pi_3OAQZiLW3jzjuzNo0weiQPNC

#

failed one

#

pi_3OAUpcLW3jzjuzNo1cVrLBWk

nova perch
static sableBOT
plush glade
#

i get message from my bank saying transaction was declined as the transaction details were incorrect provided by merchant are incorrect