2.85.66 ProntoPayments v2

Release Date: 22/8/2022

URL: /packaging/installPackage.apexp?p0=04t0I000001ACfR

 Upgrade Risks

When upgrading to version 2.71 or higher, make sure to re-save existing gateway records to have the password field encrypted .

Enhancement

Payment Transaction Object 

  • ASPHPP__OPP_IsAutoUpdateOppDate__c label is renamed to Disable CreateTXN if Opp is Closed 

  • Auto Create Payment Transaction(Custom Setting) is true and Disable CreateTXN if Opp is Closed(Custom Setting)  is true/false

    • If Opportunity is created (regardless of Stage), Payment Transaction (Manual Payment) record is also created

    • If Opportunity is updated to Closed Won/Lost, no new Payment Transaction (Manual Payment) is created

  • Auto Create Payment Transaction(Custom Setting)  is false and Disable CreateTXN if Opp is Closed(Custom Setting) is false

    • If Opportunity is created (regardless of Stage), Payment Transaction (Manual Payment) record is not created

    • If Opportunity is updated to Closed Won/Lost, new Payment Transaction is created (if does not exist yet)

  • Auto Create Payment Transaction(Custom Setting)  is false and Disable CreateTXN if Opp is Closed(Custom Setting) is true

    • If Opportunity is created (regardless of Stage), Payment Transaction (Manual Payment) record is not created

    • If Opportunity is updated to Closed Won/Lost, no new Payment Transaction (Manual Payment) is created. 

Reusable Component 

  • On the Process BPoint method which is referenced in the Reusable Component, update the API request body,

    • Add Customer object and map the values from the newly added invocable variables to its child parameters:

      • Address object:

        • AddressLine1street (variable) 

        • Citycity (variable) 

        • CountryCodecountry (variable) Alpha-3 Code 

        • Call the method for the conversion of Country into Alpha-3 Country Code 

        • PostCodepostalCode 

        • State state 

    • ContactDetails object: 

      • EmailAddressemail (variable) 

      • MobilePhoneNumbermobile (variable) 

    • PersonalDetails object: 

      • FirstNamefirstname (variable) 

      • LastNamelastname (variable) 

      • DateOfBirthbirthdate (variable) 

      • Salutationsalutation (variable) 

Processing Payment for Opportunity with a BPoint gateway 

  • If the Payment Source record of the Opportunity has a linked Contact record, get the Contact details, 

    • Update the API request body, add the Customer object and map the values from the Contact details to its child parameters: 

      • Address object: 

        • AddressLine1Mailing Street 

        • CityMailing City 

        • CountryCodeMailing Country Alpha-3 Code 

          • Call the method for the conversion of Country into Alpha-3 Country Code 

        • PostCodeMailing Zip/Postal Code 

        • State Mailing State/Province 

      • ContactDetails object: 

        • EmailAddressEmail 

        • MobilePhoneNumberMobile

      • PersonalDetails object:

        • FirstNameFirst Name

        • LastNameLast Name

        • DateOfBirthBirthdate

        • SalutationSalutation

    • If the Payment Source record of the Opportunity has a linked Account record ONLY, get the Account details,

      • Update the API request body, add the Customer object and map the values from the Account details to its child parameters:

        • Address object:

          • AddressLine1Billing Street

          • CityBilling City

          • CountryCodeBilling Country Alpha-3 Code

            • Call the method for the conversion of Country into Alpha-3 Country Code

          • PostCodeBilling Zip/Postal Code

          • State Billing State/Province

        • ContactDetails object:

          • EmailAddressEmail

          • MobilePhoneNumber → EMPTY

        • PersonalDetails object:

        • FirstNameAccount Name

        • LastNameAccount (string)

        • DateOfBirth → EMPTY

        • Salutation → EMPTY 

Bug Fix

Reusable Component 

  • Wrong Card Type was saved on the Payment Transaction record using Stripe gateway

  • Error Code Variable Returns a Customer Id Instead of the Actual Error Code.