Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PayPal can process direct credit cards if your account is setup properly. Card processing on a PayPal Commerce gateway requires no special handling. Process the card using a normal checkout flow or using 3DS flow. This document assumes you are processing using PayPal checkout and NOT direct credit cards.

...

There are four PayPal specific requirements that need to be passed to Import Order:

  1. paySource = 'PAYPAL'

...

  1. paypalBillerId is the value assigned to your PayPal Commerce gateway, found on your gateway list.

  2. redirectsTo is the url of the page in your funnel that PayPal will redirect to on a successful transaction.

  3. errorRedirectsTo is the url of the page in your funnel that PayPal will redirect to on a cancelled transaction.

A successful response will return a MERC_REDIRECT exception to the page along with a PayPal url.

...

If the customer chooses to buy an upsell, submit the product using the Import Upsale endpoint.

There are four three PayPal specific requirements that need to be passed to Import Upsale:

  1. paySource = 'PAYPAL'

  2. redirectsTo is the url of the page in your funnel that PayPal will redirect to on a successful upsell transaction.

  3. errorRedirectsTo is the url of the page in your funnel that PayPal will redirect to on a cancelled upsell transaction.

Info

Repeat Step 3 (increment upsellPage#) and Step 4 for each upsell page in your funnel.

...