#TheUchi007-customer
1 messages ยท Page 1 of 1 (latest)
๐ Happy to help
Yes, the saved payment method on the customer can be used in other payment flows other than subscription
Awesome, thanks! Also, I do have a quick question regarding product transactions. So, if the product is not a subscription, I don't need to add it to Stripe as a product, right? Or do I need to do it. According to another dev, for subscriptions it's required, so I want to know if it is the same for normal products
It depends on the integration type you use
I am using NodeJS with React on the FE
Are you using PaymentElement or Checkout?
PaymentElement
PaymentElement doesn't require product creation and you can charge the amount directly from the customer: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements&html-or-react=react
Perfect. And just to make sure, I can use their customer account(that is created under my Stripe) to gather the payment method(basically their CC) details, right?
If the payment method is saved on the customer (cus_xxx), you can use the PaymentMethod ID (pm_xxx) for the payment. You can retrieve customer's saved payment methods here: https://stripe.com/docs/api/payment_methods/customer_list
Perfect, thank you so much!
No problem! Happy to help ๐