working on paypal AC DC

This commit is contained in:
David Bomba 2024-07-29 12:42:53 +10:00
parent 87dc9093c0
commit 78f8cedc80
2 changed files with 3 additions and 5 deletions

View File

@ -128,7 +128,7 @@ class PayPalPPCPPaymentDriver extends PayPalBasePaymentDriver
nlog($response); nlog($response);
if($request->has('token') && strlen($request->input('token')) > 2) { if($request->has('token') && strlen($request->input('token','')) > 2) {
return $this->processTokenPayment($request, $response); return $this->processTokenPayment($request, $response);
} }
@ -332,8 +332,6 @@ class PayPalPPCPPaymentDriver extends PayPalBasePaymentDriver
$orderId = $this->createOrder($data); $orderId = $this->createOrder($data);
// $r = $this->gatewayRequest("/v2/checkout/orders/{$orderId}", 'get', ['body' => '']);
try { try {
$r = $this->gatewayRequest("/v2/checkout/orders/{$orderId}", 'get', ['body' => '']); $r = $this->gatewayRequest("/v2/checkout/orders/{$orderId}", 'get', ['body' => '']);