• Resolved gamernamer

    (@gamernamer)


    Hey!
    Our checkout is highly customized. We are displaying custom buttons for each payment method. For Google Pay we are hiding your default button and create our own. On click, your button gets clicked by js. Your Google Pay button class is called ‘gpay-button-container’ sadly, I do not have an iPhone or a macOS. So I can’t find out how your apple pay button container is called. I hoped ‘apple-pay-button-container’ but it doesn’t seem so.

    Could you be so kind and tell me the name of your Apple Pay button container?

    Thanks a lot!`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @gamernamer

    The Apple Pay container is as follows:

    <div id="wc-stripe-applepay-container">
    	
    </div>

    You can find that in the woo-stripe-payment/templates/checkout/applepay.php file.

    The button’s template is located at woo-stripe-payment/templates/applepay-button.php.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Edit:

    For the checkout page, the container is whatever the parent container of the #place_order is.

    The plugin generates the Apple Pay button html using jQuery, then inserts it into the place order button’s parent element.

    Example:

    $('#place_order').after(this.$button); where $this.$button is the html from the woo-stripe-payment/templates/applepay-button.php template.

    Thread Starter gamernamer

    (@gamernamer)

    Thanks a lot ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Assistance for Apple Pay’ is closed to new replies.