#michael-fill-missing-payment-method

1 messages · Page 1 of 1 (latest)

haughty dagger
deep cobalt
#

here you have it synthrider

#

req_bt5mJ1h75nr31Q

haughty dagger
#

Ah so this customer doesnt look to have any payment methods attached -- you need to collect some payment details and specify how you want the subscription to be paid

deep cobalt
#

I do not know how the customer pays before the stripe returns? can the new customer be created with some kind of default?

haughty dagger
#

Well you're creating a subscription, not a customer

#

What's your goal here?

#

What are you trying to achieve?

deep cobalt
#

yes, but before i have created the new customer!! from our website, the customer enters name and email and selects a subscription.
Then we send name and email to stripe via https://api.stripe.com/v1/customers
which return the new customer's customerid which we then send to stripe via https://api.stripe.com/v1/subscriptions together with price_id.
Then I expect stripe to create the subscription and lead customers to the form of payment, where card information can be entered ??

haughty dagger
#

That's not how the integration works the way you've implemented it

#

Are you trying to use Checkout and have them direct to the Stripe-hosted payment page?