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

    (@mrclayton)

    Hi @codenest,

    The plugin has the following logic when registering the domain:

    – When you click the Register Domain button on the Apple Pay Settings page, the plugin sends the window.location.hostname Javascript variable via ajax to the server.

    – If the JS value for window.location.hostname is not empty, then that is the default value. If it’s empty, then the plugin uses the value in $_SERVER['SERVER_NAME'].

    When you’re logged in to the WP admin, do you not see domain.com.au in the browser address bar?

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @codenest,

    I wasn’t able to wait for your reply before I released version 3.3.9 so I added a new filter which you can use to customize the domain that’s used for the registration.

    Example:

    add_filter('wc_stripe_apple_pay_domain', function($domain){
        $domain = 'domain.com.au';
        return $domain;
    });

    Kind Regards,

    Thread Starter codenest

    (@codenest)

    Thank you so much for quick help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with path for Apple Pay verification file’ is closed to new replies.