Questions tagged [stripe-payment-intent]

47 questions
1
vote
1 answer

Stripe - Is it possible to retrieving promotion code from payment_intent.succeeded?

So I'm trying to implement promotion codes in my Stripe Checkout. I got everything working just fine, the only thing I'm missing is the ability to see which promotion-code was used in the payment_intent.succeeded object. I can't find it in the…
1
vote
1 answer

Stripe payment intent throw invalid integer

I have been trying to generating stripe payment intent but I see this error of invalid Integer Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] …
Jeet Patel
  • 1,140
  • 18
  • 51
1
vote
1 answer

Once I completed Stripe payment and then create-payment-intent can't fetch

I have a payment system with stripe payment intents and I want to create a succesfull paymnent . but once i payment then show this eorror in server…
1
vote
1 answer

Insufficient balance in bank account with stripe refund behavior

I have a question regarding stripe refund behavior. Let's assume that a user requested a refund of amount 300$. current Stripe balance = 100$ current Bank balance = 100$ I know our refund request will go into the pending state as we have an…
Humayun Naseer
  • 440
  • 7
  • 18
1
vote
0 answers

How to send parameter in return_url query string in stripe paymentIntent while confirming paymentIntent

I want to define custom parameter like "language=en" for return_url in confirm paymentIntent. For eg: return_url = "https://www.example.com/thankyou?language=en" When confirming paymentIntent, theres an option to set return_url. However, when I…
Amit
  • 11
  • 2
1
vote
1 answer

Stripe Payment Method shows payment incomplete "required_payment_method"

Here is my implementation const paymentIntent = await stripe.paymentIntents.create({ amount: body.amount, currency: 'gbp', customer: customerId, automatic_payment_methods: { enabled: true, }, …
1
vote
1 answer

Stripe ConfirmCardPayment (frontend) vs paymentintent.Confirm (backend)

When would you choose confirmCardPayment in the front end and when would you choose paymentIntent.Confirm in the backend? currently our app allows you to checkout as guest, save a credit card if you are not a guest or use a saved card. All of these…
1
vote
2 answers

How to display Stripe error or success message in JavaScript?

I am trying to implement Stripe payment gateway in my Spring Boot project. I am facing problem from client side. I am trying to display any error or success message after a transaction. When I check my Stripe dashboard, then there is showing me…
Rakhi
  • 81
  • 4
  • 21
0
votes
1 answer

Deduct 5% commission on stripe during Payout to the seller

$currency = 'cad'; //$customerId = $request->customerId; $intent = \Stripe\PaymentIntent::create([ 'amount' => ($finalAmount *100), 'currency' => $currency, 'customer' => $customerId, 'description' =>…
0
votes
1 answer

Would PaymentIntent error out during creation if not enough funds or not payment method, etc?

const stripe = require('stripe')(secret_key); const paymentIntent = await stripe.paymentIntents.create({ customer: customer_id, amount: 2000, currency: 'usd', automatic_payment_methods: {enabled: true}, }); If I create a PaymentIntent like…
0
votes
1 answer

Stripe - Android SDK PaymentResult is not providing Transaction Details

I am trying to integrate Stripe payment gateway in android using their latest sdk and following their documentation. I am using their card element ui and payment is working fine in test mode. Here is the link to their…
0
votes
1 answer

500 error with create payment intent when trying to pass dynamic total to amount in ruby

So I tried to make that passed dynamic total is passed to amount in create payment intent in ruby script and I get 500 error with create payment intent and it says that there is error with fetch create payment intent in payment.js(total is passed…
0
votes
0 answers

"message": "There was an unexpected error -- try again in a few seconds" how to solve this error in stripe payment gateway

Hy am getting this error from last 3 days in this code I think may be all the things are working fine but after payment done when "confirm_payment()" function called I get this error continue in stripe payment gateway using React Native here is my…
0
votes
0 answers

How to create recurring payment via stripe checkout

I want to create the stripe recurring payment with stripe checkout session. I do not want to create subscription manually on stripe payment subscription but I want to create new subscription every time when user donate with subscription any help in…
shaz3e
  • 316
  • 2
  • 14
0
votes
0 answers

Getting request from stripe multiple times to my bot server

I have created a whatsapp bot and integrated stripe payment in my bot. After ordering items I will get a payment link from stripe to do the payment. After payment is completed stripe will send a request to my server (payment callback) endpoint, then…