3)Record Transaction Outcome
When a transaction is successful, the SDK will pass through the transaction details to the first parameter of the onSuccess hook.
Please refer to the Transaction object response on Success for a response payload attribute transaction example.
SDK versioning
The content in the SDK modal will display the latest version of Medipass connect.
Partners can also pass through the version of their application to the SDK via the
For example:
sdk.setConfig({
env: "stg",
appVersion: "3.51.0",
token: "myToken",
appId: "my-app-id"
});