#crsmith0511
1 messages · Page 1 of 1 (latest)
hi! we don't really do multi-week threads. What's your current question exactly?
I am running into an issue with updating the paymentRequest (paymentRequest.update) for the payment request button. When switching between plans, we can occasionally get to a state where the old plan selected is the plan label for the when the Google or Apple pay pop up is shown. When the happens the console.log get logged twice with the two different plan amounts with the older one being logged first and then the newer one.
this.paymentRequestButton?.on('click', async () => {
console.log('clicked', this.planAmount)
paymentRequest.update({
total: {
label: this.plan ? this.plan.label : '',
amount: this.planAmount,
},
})
})
do you have a page that replicates the issue and full instructions of how we might make the issue happen if we visit that page?
Can I private message you our development website?
nope
if you're not comfortable sharing a link here you could write to https://support.stripe.com/?contact=true for us to investigate, but Discord is public and self-contained