Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PayPal Express Checkout not updating values on authOnlyContinueTransaction or authCaptureContinueTransaction #174

Open
alecsfp opened this issue Dec 20, 2021 · 0 comments

Comments

@alecsfp
Copy link

alecsfp commented Dec 20, 2021

My code for setTransactionRequest:

$transactionRequestType = new AnetAPI\TransactionRequestType();
$transactionRequestType->setTransactionType('authOnlyContinueTransaction');
$transactionRequestType->setRefTransId($transactionID);
$transactionRequestType->setAmount($total);
$transactionRequestType->setPayment($authorizePayment);
$transactionRequestType->setOrder($order);
$transactionRequestType->setShipping($shipping);
$transactionRequestType->setCustomer($customerData);
$transactionRequestType->setTax($tax);

Steps to reproduce

  1. Start the checkout process with PayPal
  2. Redirected to PayPal to confirm initial subtotal
  3. Select payment, continue
  4. Redirected back to my site to confirm shipping and tax (based off getDetails information from PayPal)
  5. Finish checkout

Expected Outcome:
Order amount, Invoice ID, Customer Email, Customer Phone Number, Shipping amount, and Tax amount should be updated with the Authorize.net dashboard and PayPal.

Actual Outcome:
Only the order amount was updated with PayPal (thankfully), however the Authorize.net dashboard does not have any of the fields updated (Order amount, Invoice ID, Customer Email, Customer Phone Number, Shipping amount, and Tax amount).

I can capture an order through Authorize's API and it will capture the incorrect amount on PayPal. This could be very scary to my client and I will have to explain to them that PayPal is receiving the correct amount but Authorize.net is not, and they will have to capture the order on PayPal. I will also have to explain to them that all the order data cannot be imported into the dashboard until Authorize.net fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant