Questions tagged [stripe-payment-intent]

47 questions
3
votes
1 answer

How to use Stripe Payment Element with subscription?

I have seen examples of how to use the Card Component alongside the Stripe API to create a customer and attach a subscription, but I do not understand how to do this with the Payment Element. I have a React app that essentially one page has the…
3
votes
0 answers

"href" did not match between the server & client in nextjs stripe checkout

so just to start of with, this is my first question I've had to ask for on stackoverflow, so apologies in advance if I don't provide enough detail or forget to include certain details. I have successfully implemented a custom payment flow using…
2
votes
1 answer

Custom Input Fields with Stripes Payment-Element?

I am using stripe in a next.js application in order to accept one time payments and so far have been following the standard tutorial for Stripe Elements. The way it works is that I create a PaymentIntent on first render: useEffect(() => { //…
2
votes
2 answers

Stripe Connect | Direct Charges | Node.js: No such PaymentMethod: 'pm_card_visa'

I am trying to make a direct payment with Stripe Connect via React Native. I included my Node.js backend function that creates the paymentIntent. These are the guides on the Stripe Docs I where following: Creating PaymentIntent: 1:…
2
votes
1 answer

How to prevent shopping cart alterations in another tab when paymentintent is already created

Has anyone figured out a solution to this? I seem to have gotten to the same conclusion with no solution. If I were to go the my app's checkout page, the payintent is created in the backend (explained the process below). So no after the payIntent is…
1
vote
0 answers

How to make payment using stripe with custom payment form built in MateriaL UI in react

Environment: I am using material ui checkout template Ref: Link To UI and source Code: Source Code for my e-commerce site where at step 2: user has to enter payment details and at Step 3: user will be able to review the Cart List, Shipping Address &…
1
vote
0 answers

MERN Project Stripe implementation + stripe payment status incomplete

I have implemented Stripe in my project to test the payments , but even after the payment is successful with the test card , the payment dashboard in Stripe show the payment status as incomplete but when i go visit the url inside stripejs in the…
1
vote
1 answer

Stripe not setting default payment method after payment with Payment Component

On my server I create a payment intent based on Stripes docs with: const subscription = await stripe.subscriptions.create({ customer: customer.id, items: [{ price: getPricePlan(plan) }], payment_behavior: "default_incomplete", …
johnnyshrewd
  • 1,038
  • 2
  • 12
  • 29
1
vote
1 answer

Stripe Integration in Nodejs, Need to transfer form data and add other payment options

Trying to Integrate Stripe Payment Gateway in Donation Webpage. Have least knowledge in integrating payment gateways After following a simple tutorial, am able to complete payment but cant add other payment options as well as transfer User data in…
1
vote
1 answer

Re-Authorize Stripe PaymentIntent before Expiration

I am using Rails 7 and the Pay gem to create an auction/bidding website. A user places a bid, and through pay gem/stripe I am setting up a PaymentIntent and setting the capture_method as "manual". If the user is outbid then we cancel that…
cal1801
  • 135
  • 1
  • 11
1
vote
0 answers

Stripe payment intent search api throwing error

I am getting an error:call to undefined method stripe\paymentintent::search() The code reference url is on search stripe payment intents using php library. $stripe = new…
sridharnetha
  • 2,104
  • 8
  • 35
  • 69
1
vote
2 answers

Android Stripe Saved card missing from payment sheet

After fetching the customerId, ephemeralKey and clientSecret, I initialize the PaymentSheet with a Configuration object (which includes the app name, customerConfiguration(customerId, ephemeralKey and GooglePayConfiguration. I then call…
1
vote
1 answer

Vue3 - stripe payment intent creation issue

I am creating a vue3 application with stripe payment gateway. I just included my js file in the public/index.html file And created a component for the checkout like below