Please find new changes in term of configuration & tech to implement Paypal Ref Transaction here:
1. CRM Setup:
https://www.tryemanagecrm.com/#/campaigns/settings/4825
You need to pay attention to below information when setup a campaign which work with sales model.
Sales Type: Continuity
Sales Model: Below sales model allow us to bill user twice. 1st time we bill Discounted Price ($9 per unit). 2nd time (after 15 days), we will full price with shipping fee.
Pre-order (product): https://www.tryemanagecrm.com/#/sales-models/42
Pre-order (package): https://www.tryemanagecrm.com/#/sales-models/43
Payment Provider: have PayPalRefTrans (processorID 31) for paypal checkout
2. Endpoint:
Create Order:
URL:
Payload Data:
Note:
Confirm Order:
URL:
Payload Data:
Note:
Create Upsell:
URL:
Payload Data:
Note:
3. Feature Changes:
Order Page:
Feature 1: Change paymentProcessorId to 31
Feature 2: Set flag order page is Pre-Order type (use for confirm page): preOrder in localStorage
Success Page:
Check if paymentProcessorId 31 then set
trackingNumber
by parameter named token
Upsell Page:
Set paymentProcessorId value is dynamic: 5 or 31. This value get from localstorage saved from order page.
Confirm Page:
Check if user checkout from Pre-Order page (preOrder in localStorage) => Update the Text.
Text changes:
ITEMS PRE-ORDERED
Your deposit will be processed for {productTotal} ({orderNumber}) and will appear as {midDescriptor}. You will be charged the price of the products when they ship.
Don’t run API update status for Upsell if paymentProcessorId is 31
0 Comments