-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.2.12
-- Browser(s) name and version -- : Firefox 63.0.1
-- Error-message(debug-mod must be tuned on) -- :
Creating Payment Using PayPal failed : PayPal\Exception\PayPalConnectionException: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. in /plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:202
Stack trace:
#0 /plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(73): PayPal\Core\PayPalHttpConnection->execute('{"intent":"sale...')
#1 /plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(104): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/payments/pa...', 'POST', '{"intent":"sale...', Array)
#2 /plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php(576): PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/pa...', 'POST', '{"intent":"sale...', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall))
#3 /plugins/hikashoppayment/paypalplus/paypalplus.php(133): PayPal\Api\Payment->create(Object(PayPal\Rest\ApiContext))
#4 /administrator/components/com_hikashop/classes/order.php(858): plgHikashoppaymentPaypalplus->onAfterOrderConfirm(Object(stdClass), Array, '5')
#5 /components/com_hikashop/controllers/checkout.php(601): hikashopOrderClass->createFromCart('223')
#6 /libraries/src/MVC/Controller/BaseController.php(710): checkoutController->confirm()
Hi there,
we installed the plugin and entered our pp plus credientials as described in the docmentation. If we test (sandbox or live -> same result) the plugin, we get an error meesage
Creating Payment Using PayPal failed : PayPal\Exception\PayPalConnectionException: Got Http response code 400 when accessing
api.sandbox.paypal.com/v1/payments/payment
.
Please advice how to solve this issue.
Best regards,
Alex