#Chhay-subscriptions

1 messages · Page 1 of 1 (latest)

lapis panther
#

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.

merry flame
#

can we attache "receipt_email" during CreateSubscription?

lapis panther
#

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

merry flame
#

It's require CustomerID as a string.

#

not Customer Object.

lapis panther
#

yes

#

so you create the Customer object, and then you take the id field of the object and that's what you pass.

merry flame
#

why I didn't receive the Receipt via the email, boss?

#

I have enabled the setting already

lapis panther
#

they're not sent in test mode

merry flame
#

do you have any solution to test the receipt boss?

merry flame
#

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"

plush barn
#

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.

merry flame
#

boss