#Liege-payment-Link

1 messages ยท Page 1 of 1 (latest)

halcyon python
sonic niche
#

Hmmm

halcyon python
sonic niche
#

Lemme take a look

#

Do I have to pass in a payment method or can the customer add one in the checkout session?

halcyon python
#

Your customer cannot add new payment method during checkout.

sonic niche
#

How can I have customers add their payment methods without me doing it in the dashboard?

halcyon python
#

I'm afraid we don't offer this options to customers.

sonic niche
#

damnit

#

Alr thanks

halcyon python
#

Maybe you want to use Payment Elements with Payment Intent API? you can set automatic_payment_methods to enabled so that Stripe will offer the the payment methods based on your Dashboard settings https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods

sonic niche
#

Wait so the only way I can add a payment method for a user is manually thru the dashbaord?

halcyon python
sonic niche
#

Im trying to have the email that is entered in a payment link associated with the customerid that is associated with the email

#

if that makes sense ๐Ÿ˜†

halcyon python
#

Actually Stripe would automatically create a customer object for you upon the payment completion

sonic niche
#

Right

#

I noticed

#

But I want it to be associated with an existing customer

#

the blurred name is different the one thats not blurred

#

but same email

halcyon python
#

Yup, so I'd suggest using Checkout Session if you want to creating a link that specific to a customer.

sonic niche
#

but they have to have a payment method already added to pay :((

halcyon python
sonic niche
#

ohhhhh

halcyon python
#

In fact Payment Link is creating a Checkout Session under the hood.

sonic niche
#

right

#

ok

#

thank you!