Versions Compared

Key

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

...

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

Info

 Upgrade Risks

Info

 Enhancement

  • When a Gateway Transaction record is created/updated,

    • If the Gateway Transaction’s Record Type = Transaction and the Order field is NOT empty,

      • Update the Order record where:

        • Payment Status

          • If the Gateway Transaction’s Transaction Status = Successful, set the Order’s Payment Status as Paid

          • If the Gateway Transaction’s Transaction Status = Pending, set the Order’s Payment Status as Pending

          • If the Gateway Transaction’s Transaction Status = Failed, set the Order’s Payment Status as Failed

          • If the Gateway Transaction’s Transaction Status = Partially Refunded, set the Order’s Payment Status as Partially Refunded

          • If the Gateway Transaction’s Transaction Status = Refunded, set the Order’s Payment Status as Refunded

        • Remove ANY mapping of the Status field - NO update will apply in this field

          • Update the post-configuration document of PosiPay core to remove the configuration on adding “Paid” as a picklist value to the OrderStatus field

      • Update the Gift Transaction record where (dynamic mapping):

        • Status

          • If the Order’s Payment Status = Paid, set the Gift Transaction’s Status as Paid

          • If the Order’s Payment Status = Pending, set the Gift Transaction’s Pending

          • If the Order’s Payment Status = Failed, set the Gift Transaction’s Failed

          • If the Order’s Payment Status = Partially Refunded, set the Gift Transaction’s Partially Refunded

          • If the Order’s Payment Status = Refunded, set the Gift Transaction’s Refunded

...