user4440254
user4440254

Reputation:

Charge vs subscription with Stripe

I'm reading the document from Stripe and I have one point that is fuzzy on my side.

My customer are create in Stripe and automatically a subscription is attached to them. So in my case, each month they will be charge according to their subscription.

Now I read the documentation about the charge component and the documentation says: To charge a credit or a debit card, you create a charge object..


Here my questions:

Thanks for your help.

Upvotes: 2

Views: 1969

Answers (1)

koopajah
koopajah

Reputation: 25652

Creating a subscription allows you to attach a plan to a customer so that they are billed automatically on each billing cycle (daily, monthly, etc.). On each new billing cycle an invoice is created that is then paid automatically which leads to a Charge. You can read more about this on Stripe's extensive documentation: https://stripe.com/docs/subscriptions/quickstart

As for the currency, you do not set it on the Customer itself. Instead the currency is associated to a Plan. You, as the developer, decide which Plan(s) to attach to a given subscription. You'd ask your customer which currency they want to pay in client-side for example.

Upvotes: 3

Related Questions