• After adding Merchant ID (Production), Secret Key (Production), and then save changes…I’m getting this error…
    Fatal error: Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91 Stack trace: #0 /wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() #1 /wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1822): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() #2 /wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() #3 /wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron. in /wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91

Viewing 1 replies (of 1 total)
  • Plugin Author Afterpay

    (@afterpayit)

    Hi @koromanoj,

    Thanks for your message and for providing the logs. Based on these it appears that curl is not enabled on the website server. The engineering team have been able to replicate this error by turning off the curl php module locally. The team recommends reaching out to the server host for assistance in enabling the curl module.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Error on Afterpay Gateway for WooCommerce plugin’ is closed to new replies.