Versions Compared

Key

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

...

Note

This PayPal implementation should be used if you are capturing the consumer’s name prior to checkout. If however you allow a consumer to checkout before entering any identifiable information then use the legacy workflow.

Warning

Authorization trials (such as Hold Trial Charge, Authorize and Void, etc.) are not supported through PayPal Commerce Checkout

...

If your account requires FraudNet, please be sure to send the FraudNet data using in the paypalClientMetadataId field parameter when calling Import Order and Confirm PayPal API.

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.

...

  • Be sure to include the sessionId and orderId from the previous steps, if known

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

  1. paySource = 'PAYPAL'

  2. paypalBillerId is forceMerchantId = the value assigned to your PayPal Commerce gateway, found on your gateway list.

  3. salesUrl is = the url of the checkout page

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

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

...

Code Block
{
    "result": "MERC_REDIRECT",
    "message": {
        "url": "https://redirecttheuserherewww.paypal.com/checkoutnow?token=XXXXXXXXXXXXXXXXXX"
    }
}

This example script can be used to redirect the consumer to PayPal

...

Upsell Pages

Step 3: Import Click

After a successful Confirm Paypal callcheckout, the customer proceeds to the next page in the funnel, 'upsellPage1', and another click is imported using the Import Click endpoint.

...

There are three PayPal specific requirements that need to must 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.

Info

Follow step 5 or 6. It is not necessary to do both.

Thank You Page

Step 5: Import Click

...