• Resolved danrancan

    (@danrancan)


    I am running an Ubuntu 20.04 LEMP server with WordPress 6.3 installed. I am using WooCommerce with the “Payment Plugins for Stripe WooCommerce” plugin. I am the administrator of the server, so I can make Nginx adjustments or php adjustments, etc.

    Everything seems to be working fine except for when you try to checkout an item using the Apple Pay option. After adding something to your cart, and clicking checkout, and selecting the apple pay option in the checkboxes, it brings you to an apple pay button to click on. After clicking on it, the Apple Pay Payment screen pops up for a split second, and then disappears without authorizing payment. After that, the Apple pay button is non-responsive.

    I have enabled wordpress logging and there are no relevant logs in my wordpress logs, nor my Nginx logs. I’m not sure whats going on or how to debug this.

    How can I debug and fix the broken apple payment button and get apple pay to work on my website? Thanks for any help!

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

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

    (@mrclayton)

    Hi @danrancan

    When using Apple Pay you must first click the Register Domain button located on the Apple Pay Settings page of the Stripe plugin.

    It appears that you have not completed that step yet and that is why the Apple Pay wallet is closing suddently.

    Here is the full error message:

    {
      "error": {
        "message": "Before you can start using Apple Pay on the Web, you need to first register your domain. For more information, see https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay.",
        "request_log_url": "https://dashboard.stripe.com/acct_1KIFc6BaKSU6SULS/logs/req_CZ9cFwQ5nGFxQG?t=1692402537",
        "type": "invalid_request_error"
      }
    }
    
    

    Kind Regards

    Thread Starter danrancan

    (@danrancan)

    Thats weird. I didn’t think I needed to do that since I already did that and apple pay was properly working for some time. I’m guessing somehow it got disconnected. Anyways, your answer worked, and I can’t thank you enough for the tip! Cheers!

    • This reply was modified 1 year, 3 months ago by danrancan.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Apple Pay popup disappears on LEMP Server installation while using this plugin.’ is closed to new replies.