Skip to content

Commit

Permalink
Merge 4c6ef6e into fc99609
Browse files Browse the repository at this point in the history
  • Loading branch information
sytheveenje committed Nov 7, 2019
2 parents fc99609 + 4c6ef6e commit cf6be2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Services/ExpressCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ public function setExpressCheckout($data, $subscription = false)
'CANCELURL' => $data['cancel_url'],
'LOCALE' => $this->locale,
]);

$this->setTaxAmount($data);

$this->setShippingAmount($data);

Expand Down Expand Up @@ -232,6 +234,8 @@ public function doExpressCheckoutPayment($data, $token, $payerid)
'PAYMENTREQUEST_0_INVNUM' => $data['invoice_id'],
'PAYMENTREQUEST_0_NOTIFYURL' => $this->notifyUrl,
]);

$this->setTaxAmount($data);

$this->setShippingAmount($data);

Expand Down

0 comments on commit cf6be2d

Please sign in to comment.