You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When user submit their payments, they want to know if the payment was processed with success or not.
Documentation/README Requirements
Document how to get payment response from SISP.
Document success cases and how to access those data.
Document error cases.
Document basic example of implementation.
Provide links to relevant SISP documentation and/or resources.
Documentation/README
Validate Payment Response
When we submit the payment to the SISP we need to know whether the payment was processed successfully or not, and SISP suggests that we create an End Point (URL to receive the payment response) that they will call when processing the payment.
When SISP calls this End Point, we will receive all information about our payment.
Success Message Type
If the payment was successfully processed, SISP will send us a success message type that we can access in req.body.message Type, and this message can be one of the following types:
In addition to checking the messageType field, it is necessary to check if the FingerPrint received in the resultFingerPrint field is the same as expected, which is calculated according to the use of the function GenerateFingerPrintResponseSuccessful
We can get unsuccessful payment if success message type doesn't include any of the type that was described in the point 1, or if the result Fingerprint is different from the calculated fingerprint as showed in point 2 and other error we can get is if the users cancel their payments as the example below:
if(req.body.UserCancelled=="true"){// User canceled purchase requisition}
Description
When user submit their payments, they want to know if the payment was processed with success or not.
Documentation/README Requirements
Documentation/README
Validate Payment Response
When we submit the payment to the SISP we need to know whether the payment was processed successfully or not, and SISP suggests that we create an
End Point
(URL to receive the payment response) that they will call when processing the payment.When SISP calls this
End Point
, we will receive all information about our payment.If the payment was successfully processed, SISP will send us a success message type that we can access in
req.body.message Type
, and this message can be one of the following types:In addition to checking the messageType field, it is necessary to check if the FingerPrint received in the resultFingerPrint field is the same as expected, which is calculated according to the use of the function GenerateFingerPrintResponseSuccessful
We can get unsuccessful payment if success message type doesn't include any of the type that was described in the point 1, or if the result Fingerprint is different from the calculated fingerprint as showed in point 2 and other error we can get is if the users cancel their payments as the example below:
Basic example
The text was updated successfully, but these errors were encountered: