|
|
@@ -17,7 +17,7 @@ class Applepay extends Payment
|
|
|
*/
|
|
|
protected $code = 'applepay';
|
|
|
protected $clientId;
|
|
|
- protected $secret;
|
|
|
+ protected $apikey;
|
|
|
protected $webhookId;
|
|
|
protected $currentOrder;
|
|
|
protected $prefix = 'QQS';
|
|
|
@@ -120,7 +120,7 @@ class Applepay extends Payment
|
|
|
'headers' => [
|
|
|
'Accept' => 'application/json',
|
|
|
'Content-Type' => 'application/json',
|
|
|
- 'Authorization' => 'Basic '.base64_encode("{$this->apikey}:{$this->secret}")
|
|
|
+ 'Authorization' => 'Basic '.base64_encode("{$this->clientId}:{$this->apikey}")
|
|
|
],
|
|
|
'json' => $data,
|
|
|
'timeout' => 30,
|