PosiPay v0.69
Release Date: 29May2024
URL: /packaging/installPackage.apexp?p0=04tOZ00000014HhYAI
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 Order → Status 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
When processing an invoice by using a fraud card,
Assuming the webhook is configured properly:
A Gateway Event record is created
A Gateway Invoice record is created
A Gateway Transaction record is created where:
Flagged As Fraud = TRUE
Risk Level = Risk Level from the parsed payload
Risk Score = Risk Score from the parsed payload
Result Message = Result Message from the parsed payload
Other fields are populated based on the parsed payload
New Features
Order object,
Create a picklist field called Payment Status
Description - The status of the Order’s payment.
Picklist values:
Unpaid
Pending
Paid
Failed
Partially Refunded
Refunded
Bug Fix
Webhook Payload Parsing Issue with Fraud Details
Scenario: When processing an invoice by using a fraud card, a Gateway Event record is created and expected to be parsed, BUT on the Gateway Invoice and Gateway Transaction record creation - there are issues with the mapping:
Expected Result:
When processing an invoice by using a fraud card,
Assuming the webhook is configured properly:
A Gateway Event record is created
A Gateway Invoice record is created
A Gateway Transaction record is created where:
Flagged As Fraud = TRUE