• Resolved iskolares

    (@iskolares)


    I am with Pressable Customer Support. We had a customer who had issues trying to setup the plugin’s Payment Gateway on our server. Upon inspection, it looks like you are using ABSPATH online 71 of /give-stripe/includes/admin/class-give-stripe-apple-pay-registration.php

    $path = ABSPATH;

    This setup will work on many WordPress installs/hosts, but not the case with WordPress installs at Pressable or on WordPress.com Business plans.

    Our recommendation would be to modify the code such that it verifies if ABSPATH is within $_SERVER[‘DOCUMENT_ROOT’] (or is writable), if it isn’t, use WP_CONTENT_DIR as the fallback.

    This will make the plugin work seamlessly on Pressable, WordPress.com Business Plan or any other host with the same setup as ours.

    Please let us know how we can help.

    Regards,

    Edcel Ceniza
    Pressable Customer Support

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    @iskolares thanks SO much for weighing in here. We’ve had intermittent errors with Apple Pay on a handful of sites, and it now makes sense why.

    Since this is related to a premium add-on, we’re not really allowed to continue the discussion here, per forum rules, but know that I have escalated this to the product team and they’ve echoed my thanks for letting us know not only the problem, but the fix.

    Look for that in a future update to the add-on. Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘ABSPATH setup on the plugin’ is closed to new replies.