eNets
Wirecard Payment Page v1
This payment method is available for integration with Wirecard Payment Page v1 only. |
eNETS Direct Debit is a type of Online Bank Transfer.
Countries and Currencies
Countries |
Singapore |
---|---|
Currencies |
SGD |
Communication Formats
This table illustrates how eNETS notifications are encoded and which formats can be used for requests and responses.
Requests/Responses |
NVP Format |
---|---|
IPN Encodement |
Please follow the instructions given at Instant Payment Notification to set up IPN. |
Transaction Types
Wirecard Payment Page v1 supports the transaction type debit only.
Test Credentials
URL (Endpoint) |
|
---|---|
Merchant Account ID (MAID) |
dd4ec05b-3d4e-46c3-a32c-d3bb6aa69c82 |
Secret Key |
f8de5ff0-1539-4a24-922e-9cfe9fe675a1 |
Additional Test Credentials on eNETS Environment
Bank Selection |
UAT BankSim (E3 UAT only) |
---|
Workflow
-
Consumer adds items to shopping basket and proceeds to checkout.
-
Merchant sends consumer’s payment request to WPG for processing.
-
Consumer selects payment method eNETS.
-
WPG redirects consumer to eNETS page.
-
Consumer selects the preferred bank on eNETS page.
-
eNETS sends consumer to bank page.
-
Consumer logs in and completes payment on bank page.
-
WPG receives transaction status from eNETS.
-
WPG sends notification with transaction status to the merchant.
-
WPG redirects consumer back to the shop where the merchant displays the status of the payment process.
Fields
The fields used for eNETS requests, responses and notifications are the same as for REST API and Payment Page. Please refer to: REST API Fields or Payment Page.
Sample
To test eNETS, use the following JavaScript snippet.
For details on hash-generation, go to our WPP v1 Security section, see Request Signature and Secret Key Exchange. |
var requestedData = {
"request_time_stamp" : getTimeStamp(), //get current timestamp
"request_id" : generateUid(), //generate unique ID
"merchant_account_id" : "dd4ec05b-3d4e-46c3-a32c-d3bb6aa69c82",
"transaction_type" : "debit",
"requested_amount" : "1000",
"requested_amount_currency" : "SGD",
"success_redirect_url" : "https://demoshop-test.wirecard.com/demoshop/#/success",
"cancel_redirect_url" : "https://demoshop-test.wirecard.com/demoshop/#/cancel",
"fail_redirect_url" : "https://demoshop-test.wirecard.com/demoshop/#/error",
"ip_address" : "127.0.0.1",
"secret_key" : "f8de5ff0-1539-4a24-922e-9cfe9fe675a1",
"psp_name" : "demo",
"first_name" : "test_user",
"last_name" : "test_user",
"attempt_three_d" : "false",
"request_signature" : "", //generate request signature
"payment_method" : "enets",
"order_number" : "123445"
}
WirecardPaymentPage.hostedPay(requestData);