Paypal Payment Gateway transaction hangs

Re: Paypal Payment Gateway transaction hangs

by Colin G -
Number of replies: 0
ok I think I have finally found the problem. The server has curl version 7.29 but min requirement for this to work is curl version 7.34. Moodle 4.2 does not check that curl version is at least 7.34

There is a tracker issue about this.

 error “Exception - Undefined constant "paygw_paypal\CURL_SSLVERSION_TLSv1_2" option was added in curl 7.34.0 so no older version can ask specifically for 1.2, you could only ask for “TLS” back then.

The fix is to upgrade curl and php curl support to newer release.
Average of ratings: Useful (2)