#Chhay-subscriptions
1 messages · Page 1 of 1 (latest)
hi! generally, you don't, one is created for you by the subscription's invoice automatically.
And what is the different between CreatePaymentIntent and CreateSubscription API?
the former is for one time payments and the latter is for setting up a recurring subscription, that's one way to look at it.
can we attache "receipt_email" during CreateSubscription?
creating a subscription requires using a Customer object, so you can just set the email field on that Customer object. The receipt is sent there if you have receipts turned on
yes
so you create the Customer object, and then you take the id field of the object and that's what you pass.
it's all covered in the guides (for example https://stripe.com/docs/billing/subscriptions/build-subscriptions)
why I didn't receive the Receipt via the email, boss?
I have enabled the setting already
do you have any solution to test the receipt boss?
thank you boss
when you come to Cambodia
call me
Coffee on me
"After payment, the Hosted Invoice Page includes a link to a receipt that a customer can download for their own records.
"
In the doc has been mentioned about Hosted Invoice Page
but when I test send receipt to email, it hasn't the "hosted invoice page"
Hi! I'm taking over karllekko.
Once the payment is done, the Hosted Invoice Page will include a link to the receipt.
So when you look at the receipt, there won't be a link to the hosted invoice page.
boss