#michael-fiil-charge-to-sub

1 messages · Page 1 of 1 (latest)

lethal tinsel
#

hey there, can you describe this some more, or provide an example of what you're trying to do?

#

i'm afraid i dont understand your goal here

north zodiac
lethal tinsel
#

can you explain in words what you're trying to achieve, and what's not clear or working like you expect?

#

OK it looks like this is a handler for accepting tokens to attach to customers, and you want to create a subscription

#

You will need to use the subscription API yes, its not something accomplished purely with the customer API

north zodiac
#

thank you - but please explain if i need to call api.subscription or just miss a parameter in the api creating the new customer

lethal tinsel
#

What is the goal of the charges call?

#

You would create a subscription for that customer yes, and specifying the card/pm to be used

north zodiac
#

the present code charge the invoice amount. What i need is to charge the first month of subscription - now - and have stripe to take care of future payments acording to the subscription. Thank you in advance (i am newbie in C#)

lethal tinsel
#

ah then yes you'd want to create the subscription then, taking a look at the guide i sent

#

unless you add a trial period, if you're using automatic charges the first month will be paid immediately when you create the sub. there's no need to do a separate charge request

#

note also that we have a dotnet client that will make it a bit easier than building many HTTP requests like you've got here: