• Resolved uniqcoder

    (@merajali294)


    URGENT!!!
    I’m trying to modify JS so that the Google Pay Button Automatically loads once user comes to cart Page, but it does not work, can you check and fix this now?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter uniqcoder

    (@merajali294)

    I want the Chrome PopUp to appear once the user clicks AddToCart in Single Product Page and then goes to Cart Page, and in this page I need Popup to appear so that he does the Payment right away,
    I’m tweaking this part, prButton.mount( ‘#wc-stripe-payment-request-button’ );
    But this mount function doesn’t allow me to use the window.addEventListener(‘load’, #wc-stripe-payment-request-button);

    Please check this part and correct me so that Chrome Popup is enabled once user gets to Cart page,

    Have implemented similar part here, it works, https://sravan523.com/api.php

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Thread Starter uniqcoder

    (@merajali294)

    thanks for the response, have posted there as well, unfortunately no help, can you connect me to a Developer as this seems to be easy but a little Tricky and he’ll help me with that?

    Plugin Support Tseten a11n

    (@tibetanitech)

    Hi @merajali294

    The platforms mentioned by my colleague @nicolamustone are the known free platforms where you can get free support from developers if there are available.

    We highly recommend contacting one of the services on our Customizations page if you want to hire a developer who can help you with this.

    Thread Starter uniqcoder

    (@merajali294)

    Hello @tibetanitech,

    Have tried there as well.

    1. Can’t we get support on this via your plugin Developers as it’s build here? and its fairly easy to render the Popup on Pageload but due to the Cross Origin Policy and the Iframe being rendered after the Page is loaded, it’s not allowing me to access the Button, else that’d have been fixed by me by now. Once user does the AddToCart, Im sending him to my Custom Page where I want to render the PayNow PopUp so that he immediately selects Address and does the Payment.
    2. Or if you cannot provide the solution, is this something Stripe are supposed to do, may be talking to them would help

    Hi @merajali294. We (WooCommerce) don’t do custom development for our plugins, so we’re not able to offer support for this directly. The customizations page we mentioned above would be your best bet. If you’re not able to find anything there, asking in the Slack or Facebook groups for developer recommendations would be the way to go.

    You could try talking with Stripe directly, but I would guess that they’ll give you the same answer and try to point you to a third party developer.

    Let us know if you have any further questions!

    Thread Starter uniqcoder

    (@merajali294)

    Hello @apmwebdev,
    Thanks for your response, Stripe support updated me to Contact you guys as it’s been built here and they do not handle GooglePay Popup.

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    As Austin mentioned above, we don’t handle or support any kind of customizations to our plugins. You will want to find a developer you can work with to make these changes.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘I’m adding Custom JS so that I get the Google Pay Button Onpageload’ is closed to new replies.