#crsmith0511

1 messages · Page 1 of 1 (latest)

verbal ploverBOT
oak breach
#

hi! we don't really do multi-week threads. What's your current question exactly?

thick pelican
#

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,
},
})
})

oak breach
#

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?

thick pelican
#

Can I private message you our development website?

oak breach
#

nope