In order to test the notification, a Url to notify must be configured with ALPS integration team.

Output Data:

ParameterDescriptionData TypeExample
public_keyPublic key, unique value that identifies the commerceString (255)3e305d5cdd126be57d06d52b860dfd8c4f5706
timeRequest data timeDate Time2018-01-25T19:49:57
channelPayment channelInteger1, 2, 3, 4, 5, 6, 8, 9, 10
amountThe amount of the transactionDouble1000.00
currencyTransaction currencyString (3)USD, CLP, MXN, etc.
trans_IDMerchant's transaction idString (255)10001, WX03-01, 001-012312220
signatureSignature hash256:Review signature calculationString (255)hsg0g924215578ae4096500a6c3888

Signature in success payment 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);

?>

We send extra fields in output data according to the channel.

Channel 1, 2

ParameterData typeDescriptionExample
BankNameString max (60Bank nameBanco del pueblo
BankCountryString max (10)Bank country codeCHL
ChannelTypeString max (60)Channel used by the shopper to pay for the transaction1 – Online, 2 - Cash

Channel 3

ParameterData typeDescriptionExample
card_numberString (255)Last 4 digitXXXXXXXXXXXX1993
auth_numberString (255)Authorization Number004871
card_brandString (255)Card BrandWEBPAY_PLUS_DEB, WEBPAY_PLUS_CRED, WEBPAY_PLUS

Channel 5

ParameterData typeDescriptionExample
user_bankString (255)Bank name of the customerBanco de Chile / Edwards
user_rutString (255)User's national identity document11111111-1
user_accountString (255)Bank account number and name of the customer's bankCuenta Corriente 123456789

Channel 9

ParameterData typeDescriptionExample
card_numberString max (25)First 6 and last 4 digits123456XXXXXX1234
card_brandString (255)Card brand nameVisa, Mastercard, American Express, etc.
auth_numberString max (25)Authorization number345678
card_holder_nameString max (255)Card holder nameJohn Doe
issuing_bankString max (255)Issuing bankBANCO DEL PUEBLO