#datad398

1 messages · Page 1 of 1 (latest)

arctic lionBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

plush hatch
#

Hi
Why you want to click on the button automatically? You need to let your customer to click on the button

#

You can't achieve that, that's a security leak

weak rivet
#

i have create custom button with custome design

plush hatch
#

you can't click on the button on behalf of the customer him self

#

But you need to make the call after a click from a customer

weak rivet
#

before mounting button i am changing quantitiy and variants of products because after mount button we can't change quantity and variant because i dont know how to reload payment request button without loading page.

#

above screenshot code is working for google pay but not on apple pay

plush hatch
#

Why you want to reload the payment request button ?

#

You can simply update the PaymentIntent with the new amount

#

but you keep the Payment request Button

weak rivet
#

i cant update prices accourding to variants . how i can update prices in apple pay

#

i should use that function to update paymentRequest.update(options)

plush hatch
#

Sorry, but I'm not seeing the link between automatically showing the payment request and the update ?

weak rivet
#

Okay thanks . let me try. and i will get back to you