Commit e2ea0640 authored by Andy J's avatar Andy J

active session may not available

parent 78d62ce0
......@@ -332,7 +332,7 @@ class PayPalBasic extends PaymentMethod
$order = $helper->getObject();
$basket = PayPalHelper::getBasket($helper);
$token = $this->getCache('token');
$token = isset($args['token']) ? $args['token'] : $this->getCache('token');
$details = $this->getExpressCheckoutDetails($token);
if (!is_object($details)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment