In order to test the notification, a Url to notify must be configured with ALPS integration team.
Output Data:
Parameter | Description | Data Type |
---|---|---|
public_key | Public key, unique value that identifies the commerce | String (255) |
time | Request data time | Date Time |
channel | Payment channel | Integer |
amount | The amount of the transaction | Double |
currency | Transaction currency | String (3) |
trans_ID | Merchant's transaction id | String (255) |
signature | Signature hash256:Review signature calculation | String (255) |
rejection_message | Message sent by the payment processor with description for the rejection | String (255) |
rejection_code | Rejection code related to the payment processor | Integer |
Signature in reject notifications
The signature is the chain of concatenated data and Hash SHA256 encryption will be applied.
Chain:
Example:
<?php
$string = $time.$channel.$amount.$currency.$trans_id.$secret_key;
$result_signature = hash('sha256', $string);
?>