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.

2. Endpoint:

  • Create Order - POST:

    • URL: https://sales-prod.tryemanagecrm.com/api/orders/d19cc1ac-4ebe-4007-b22e-575869a56f77?behaviorId=2

    • Payload Data:

    • 1{ 2 "couponCode": null, 3 "shippingMethodId": 565, 4 "comment": "", 5 "useShippingAddressForBilling": true, 6 "productId": 767, 7 "customer": { 8 "email": null, 9 "phoneNumber": null, 10 "firstName": null, 11 "lastName": null 12 }, 13 "payment": { 14 "paymentProcessorId": 31 15 }, 16 "billingAddress": null, 17 "analyticsV2": { 18 "referringUrl": "", 19 "landingUrl": "https://test.thegadgetreviewguy.com/en/order-res-test.html?iscardtest=1&sub1=123&sub2=321&afid=123", 20 "userStringData64": "U29mdHdhcmVWZXJzaW9uPTAuMS4xMSZGaW5nZXJwcmludD00MDE1NjUzMjM1JlVzZXJBZ2VudExvd2VyQ2FzZT1tb3ppbGxhJTJGNS4wJTIwKHdpbmRvd3MlMjBudCUyMDEwLjAlM0IlMjB3aW42NCUzQiUyMHg2NCklMjBhcHBsZXdlYmtpdCUyRjUzNy4zNiUyMChraHRtbCUyQyUyMGxpa2UlMjBnZWNrbyklMjBjaHJvbWUlMkY4MC4wLjM5ODcuMTAwJTIwc2FmYXJpJTJGNTM3LjM2JkJyb3dzZXI9Q2hyb21lJkJyb3dzZXJWZXJzaW9uPTgwLjAuMzk4Ny4xMDAmRW5naW5lPVdlYktpdCZPUz1XaW5kb3dzJk9TVmVyc2lvbj0xMCZEZXZpY2U9biUyRmEmRGV2aWNlVHlwZT1uJTJGYSZEZXZpY2VWZW5kb3I9biUyRmEmQ1BVPWFtZDY0JmlzTW9iaWxlPW4lMkZhJmlzTW9iaWxlTWFqb3I9biUyRmEmaXNNb2JpbGVBbmRyb2lkPW4lMkZhJmlzTW9iaWxlT3BlcmE9biUyRmEmaXNNb2JpbG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RDJTJDJTIwU3lsZmFlbiUyQyUyMFN5bWJvbCUyQyUyMFRhaG9tYSUyQyUyMFRpbWVzJTIwTmV3JTIwUm9tYW4lMkMlMjBUcmVidWNoZXQlMjBNUyUyQyUyMFZlcmRhbmElMkMlMjBWbGFkaW1pciUyMFNjcmlwdCUyQyUyMFdlYmRpbmdzJTJDJTIwV2lkZSUyMExhdGluJTJDJTIwV2luZ2RpbmdzJmlzTG9jYWxTdG9yYWdlPXRydWUmaXNTZXNzaW9uU3RvcmFnZT10cnVlJmlzQ29va2llPXRydWUmVGltZVpvbmU9SW5kb2NoaW5hJTIwVGltZSZMYW5ndWFnZT1lbi1VUyZTeXN0ZW1MYW5ndWFnZT1uJTJGYSZpc0NhbnZhcz10cnVlJkN1c3RvbUZpbmdlcnByaW50PTE1NjIyODQwOTE=" 21 }, 22 "funnelBoxId": 0, 23 "antiFraud": { 24 "sessionId": "0f8c2942dd8847898d153ff19dd31755" 25 }, 26 "fingerPrintId": "52c5d37931f4a4ffc93c67397db576b4" 27}
    • Note: "paymentProcessorId": 31

  • Confirm Order - PUT:

  • Create Upsell - POST:

    • URL: https://sales-prod.tryemanagecrm.com/api/orders/f66ffc04-0c9a-4765-a4b9-27283879132d?behaviorId=2

    • Payload Data:

    • 1{ 2 "campaignUpsell": { 3 "webKey": "f66ffc04-0c9a-4765-a4b9-27283879132d", 4 "relatedOrderNumber": "83725226" 5 }, 6 "shippingMethodId": 517, 7 "comment": "", 8 "useShippingAddressForBilling": true, 9 "productId": 1159, 10 "customer": { 11 "email": null 12 }, 13 "payment": { 14 "paymentProcessorId": 31, 15 "callBackParam": "?&isCardTest=1&up_amp-split-v1=1" 16 }, 17 "shippingAddress": null, 18 "funnelBoxId": 0, 19 "antiFraud": { 20 "sessionId": "973c5993c9ae4e66a14f3c5050859075" 21 } 22}
    • Note: "paymentProcessorId": 31,

3. Feature Changes: