#kelputoo

1 messages · Page 1 of 1 (latest)

dense turtleBOT
naive oak
#

Stripe Checkout page normally will collect the card then start a Subscription. If you want to create Subscription first, you can try a Checkout Session Setup mode then collect the payment method to set into the Subscription

lost meteor
#

But will that stil be a charge automatically subscription?

#

How would that work? Can I provide my code?

#

Also tell me one thing, that checkout session setup will store the payment method in the customer?

#

like if he adds a card to the checkout session setup, will the card information be stored?

dense turtleBOT
sharp summit
#

lets take a step back, can you explain why you want to create the subscription, and then have the customer pay from the pending invoice page?

Why not just have the customer pay via the Checkout page which will automatically create the Subscription at the same time?

lost meteor
#

Im using .NET, and for some reason i couldnt put it to work, and the only why i found was to create a subscription and then find pending invoices in that subscription and give the user a url to pay the invoice.

#

Im very new to this Stripe.NET Library, and im still learning how to use it correctly.

sharp summit
lost meteor
#

The thing is, i really wanted to avoid using HTML and JS. The platform that im using (WiseJ), is not the best to handle that... It handles good the .NET Library.

#

The way i have the code is working when is not charge automatically, the only thing is that, when its a charge automatically subscription it asks for payment methods, and the thing is here, why ask for s payment method if im redirecting the user to pay the invoice to s url where he can specify the payment method?

sharp summit
#

I'm sorry but I don't quite understand what you just mentioned

#

when its a charge automatically subscription it asks for payment methods - do you have the request id where it's "asking for payment methods"?

lost meteor
#

I think want me to send?

sharp summit
#

i don't understand what you mean by "I think want me to send?"

lost meteor
#

Imagine this scenario, im creating a stripe customer, that stripe customer will pay for a subscritpion, that subscription has a collection mode set as "charge_automatically". When the subscription is set to that collection mode, it throws an "error" when creating it. The "error" is: "This customer has no attached payment source or default payment method"

I understand this, however, im redirecting the user to a URL to pay it. That url is a Hosted Invoice URL, where the user can specify how to pay (through card, paypal etc.).
So, i wonder if there is any option to bypass that "error" without actually attach anything to that customer, and the stripe checkout does that attachment job for me automatically.

sharp summit
lost meteor
#

I think it worked.. Will this be a charge automatically still, right?

sharp summit
#

yes, collection_method will still be charge_automatically

lost meteor
#

I understand now, the difference is that the subscription starts incomplete

#

so it doesnt require any forced payment smth like that

#

and the user can normally pay the invoices

#

that's what i was looking for

#

amazing

#

i got one more question

#

if the user chooses paypal, will it still be charged automatically? And where are the funds going to? TRo my paypal? Or stripe?

#

i have this configured

sharp summit
lost meteor
#

Ok thank you, will read.

#

Just one more and last question, sorry, after the payment is made, the subscription is not "incomplete" anymore right?

sharp summit
#

have you tried?

#

it should be easy for you to test it out

lost meteor
#

I will