Error with PayPal plus.

  • Posts: 41
  • Thank you received: 3
5 years 11 months ago #291370

-- url of the page with the problem -- : www.greenville.ag
-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- Error-message(debug-mod must be tuned on) -- : Error PayPal Plus

Creating Payment Using PayPal failed :

PayPal\Exception\PayPalConnectionException: Got Http response code 401 when accessing https://api.paypal.com/v1/payments/payment. in /usr/www/users/schwef/greenville/joomla/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:202
Stack trace:
#0 /usr/www/users/schwef/greenville/joomla/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(73): PayPal\Core\PayPalHttpConnection->execute('{"intent":"sale...')
#1 /usr/www/users/schwef/greenville/joomla/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 /usr/www/users/schwef/greenville/joomla/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 /usr/www/users/schwef/greenville/joomla/plugins/hikashoppayment/paypalplus/paypalplus.php(133): PayPal\Api\Payment->create(Object(PayPal\Rest\ApiContext))
#4 /usr/www/users/schwef/greenville/joomla/administrator/components/com_hikashop/classes/order.php(845): plgHikashoppaymentPaypalplus->onAfterOrderConfirm(Object(stdClass), Array, '9')
#5 /usr/www/users/schwef/greenville/joomla/components/com_hikashop/controllers/checkout.php(601): hikashopOrderClass->createFromCart('1331')
#6 /usr/www/users/schwef/greenville/joomla/libraries/src/MVC/Controller/BaseController.php(710): checkoutController->confirm()
#7 /usr/www/users/schwef/greenville/joomla/administrator/components/com_hikashop/helpers/helper.php(1885): Joomla\CMS\MVC\Controller\BaseController->execute('confirm')
#8 /usr/www/users/schwef/greenville/joomla/components/com_hikashop/hikashop.php(79): hikashopController->execute('confirm')
#9 /usr/www/users/schwef/greenville/joomla/libraries/src/Component/ComponentHelper.php(382): require_once('/usr/www/users/...')
#10 /usr/www/users/schwef/greenville/joomla/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/usr/www/users/...')
#11 /usr/www/users/schwef/greenville/joomla/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_hikashop')
#12 /usr/www/users/schwef/greenville/joomla/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#13 /usr/www/users/schwef/greenville/joomla/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\SiteApplication->doExecute()
#14 /usr/www/users/schwef/greenville/joomla/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#15 {main}

Last edit: 5 years 11 months ago by Jerome. Reason: [code] tag is nice, REALLY nice. And indenting code is also nice and helpful to READ the content

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 33
  • MODERATOR
5 years 11 months ago #291400

Hello,

Can you give us more information about your issue through some screenshots for example ? Thank you.

Also, do you still have that issue when you test it again ?

Best regards,
Mohamed Thelji.
Tsuki Dev


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum