Testing the Plug-in
After you configure and activate the PayPal Express Checkout plug-in, associate it to one or more stores. You can test if the plug-in works by making a purchase.
Sign in to Cortex as a public shopper or as a registered shopper.
Add any item to the cart.
Go to the order and fill in the required information.
Go to
paymentmethodinfo.Go to the newly created PayPal payment method element.
Go to
requestinstructionform.Fill in the
hreffields with a URL, such ashttp://test.com.Submit the form.
The response returns a URL with a token, such as
https://www.sandbox.paypal.com/checkoutnow?token=EC-4MC27740T5330625M.Copy the URL and open the link in a browser.
Sign in to PayPal with the username and password.
Click Agree & Continue.
Copy the token from the paramenter from the link from Step 6 ii.
Create a new
paymentinstrumentusing the copied token.Purchase an item.
note
If you have previously used the order number in the PayPal sandbox, the purchase might not succeed. Repeat the Submit order action until you succeed.
Sign in to Commerce Manager after the purchase is successful.
Look up the order.
Verify the transaction in the PayPal sandbox.
Sign in to
https://www.sandbox.paypal.com.Enter your username and password.
Click Activity to view the transactions.
Click the transaction to view the details.