#faz919-confirmation

1 messages · Page 1 of 1 (latest)

crisp forum
#

hi there, are you referring to receipts?

pearl plume
#

Yes

#

Also, is there any way to customize receipt emails? For example, I'd like to include a link to the customer billing portal in every subscription confirmation email

crisp forum
pearl plume
#

ok thank you

#

unrelated question: how can i pass the data i receive from apple pay/google pay (shipping info, customer info, etc) to my subscription data?

crisp forum
pearl plume
#

trying to save it as metadata on the subscription

#

but how do i retrieve it from the third-party pay in the first place

crisp forum
#

are you using Payment Request button or the Payment Element or Checkout right now?

pearl plume
#

payment request button element

#

language im using is react

pearl plume
#

ah nevermind i figured out how to retrieve it

#

thanks so much

#

now i'm just facing an issue where i receive the error Unsupported prop change: options.paymentRequest is not a mutable property. when trying to change the payment to not pending and then the apple pay screen just says 'amount pending' instead of the actual amount

crisp forum
#

sorry but i don't quite understand what you're trying to achieve here. How or where are you changing the payment to not pending?

#

can you share the relevant code snippets?

pearl plume
#

sure

#

the useeffect hook that creates the payment and then later sets it to not pending

#

{paymentRequest && ( <PaymentRequestButtonElement options={{ paymentRequest, style: { paymentRequestButton: { height: '40px', }, }, }} /> )}

#

the payment request button

#

the payment request is just defined using a standard usestate

crisp forum
#

this is probably going to take a while to look into and unfortunately i need to step away for the day. Can you reach out to Stripe Support and share the error message and your code? We'll take things up from there

pearl plume
#

for sure thanks