1
votes

According to the specs the Express Checkout flow is like this:

  1. SetExpressCheckout
  2. Redirect user to login and approve the transaction
  3. GetExpressCheckoutDetails
  4. DoExpressCheckoutPayment

Is it possible to fully automate step 2 so the complete transaction flow can be unit tested?

1

1 Answers

1
votes

Can't. Once you redirect, you will need to login with your PayPal credentials to proceed to next step which could not be done automatically.