Neteller Withdrawal
The following method IDs are covered in this section:
ID | Name | Credit/Debit State |
---|---|---|
5 | NetellerWithdrawal | ExecutedByProvider (142) |
Payment method interaction type: Synchronous Execution (see Interaction Types).
Redirect Integration
Payment method NetellerWithdrawal is supported in the PXP checkout.
Sample getRedirectDataRequest, redirection to the selection of the PXP checkout:
<getRedirectDataRequest
xmlns="http://www.cqrpayments.com/PaymentProcessing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<merchantID>KalixaAcceptDEMO</merchantID>
<redirectParameters xsi:type="paymentMethodSelectionWithDetailsRedirectParameters">
<shopID>KalixaAcceptDEMO</shopID>
<httpMethod>GET</httpMethod>
<returnUrl>http://return</returnUrl>
<languageCode>en</languageCode>
<currencyCode>EUR</currencyCode>
<countryCode>at</countryCode>
<additionalDetails>
<detail xsi:type="keyStringValuePair">
<key>Description</key>
<value>some description</value>
</detail>
</additionalDetails>
<user>
<id>OB-20220614-01</id>
<username>Test user</username>
<firstname>Test user FN</firstname>
<lastname>Test user LN</lastname>
<currencyCode>EUR</currencyCode>
<languageCode>en</languageCode>
<email>[email protected]</email>
<address>
<countryCode2>AT</countryCode2>
</address>
<dateOfBirth>1999-05-02T00:00:00</dateOfBirth>
<gender>Male</gender>
</user>
<merchantTransactionID>OB-202206141201</merchantTransactionID>
<grossAmount>78.01</grossAmount>
<successUrl>http://success</successUrl>
<pendingUrl>http://pending</pendingUrl>
<errorUrl>http://error</errorUrl>
<cancelUrl>http://cancel</cancelUrl>
<refusedUrl>http://refused</refusedUrl>
<paymentDirection>Withdrawal</paymentDirection>
</redirectParameters>
</getRedirectDataRequest>
Sample getRedirectDataRequest, redirection to the payment detail page of the PXP checkout:
<getRedirectDataRequest
xmlns="http://www.cqrpayments.com/PaymentProcessing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<merchantID>KalixaAcceptDEMO</merchantID>
<redirectParameters xsi:type="paymentMethodDetailsRedirectParameters">
<shopID>KalixaAcceptDEMO</shopID>
<httpMethod>GET</httpMethod>
<returnUrl>http://return</returnUrl>
<languageCode>en</languageCode>
<currencyCode>EUR</currencyCode>
<countryCode>at</countryCode>
<additionalDetails>
<detail xsi:type="keyStringValuePair">
<key>Description</key>
<value>some description</value>
</detail>
</additionalDetails>
<user>
<id>OB-20220614-01</id>
<username>Test user</username>
<firstname>Test user FN</firstname>
<lastname>Test user LN</lastname>
<currencyCode>EUR</currencyCode>
<languageCode>en</languageCode>
<email>[email protected]</email>
<address>
<countryCode2>AT</countryCode2>
</address>
<dateOfBirth>1999-05-02T00:00:00</dateOfBirth>
<gender>Male</gender>
</user>
<merchantTransactionID>OB-202206141201</merchantTransactionID>
<grossAmount>78.01</grossAmount>
<successUrl>http://success</successUrl>
<pendingUrl>http://pending</pendingUrl>
<errorUrl>http://error</errorUrl>
<cancelUrl>http://cancel</cancelUrl>
<refusedUrl>http://refused</refusedUrl>
<paymentMethodID>5</paymentMethodID>
<isPaymentMethodChangeAllowed>false</isPaymentMethodChangeAllowed>
</redirectParameters>
</getRedirectDataRequest>
Backend2BackendIntegration
The following table contains the fields to be sent in the initiatePaymentRequest.specificPaymentAccountData xml section:
key (value type, account type, required) | value |
---|---|
AccountID (string) | User’s account ID (eMail Address) for Neteller |
Example initiatePaymentRequest:
<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
<merchantID>B2BTestMerchant</merchantID>
<shopID>150001</shopID>
<merchantTransactionID>fb367c95-ea22-493f-98f3-24c37zzcz431df</merchantTransactionID>
<paymentMethodID>5</paymentMethodID>
<amount currencyCode="EUR">10.22</amount>
<userID>810e6986-9491-4193-9d71-f8c45b</userID>
<userSessionID>2cb33303-43dc-46f1-8b17-a3e45e7d8ad6</userSessionID>
<creationTypeID>1</creationTypeID>
<specificPaymentData>
<data xsi:type="keyIntValuePair">
<key>PaymentProviderID</key>
<value>19</value>
</data>
</specificPaymentData>
<paymentAccount>
<specificPaymentAccountData>
<data xsi:type="keyStringValuePair">
<key>AccountID</key>
<value>[email protected]</value>
</data>
</specificPaymentAccountData>
</paymentAccount>
</initiatePaymentRequest>
Example initiatePaymentResponse:
<initiatePaymentResponse xmlns="http://www.cqrpayments.com/PaymentProcessing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<payment xsi:type="paymentWithPaymentAccount">
<merchantID>B2BTestMerchant</merchantID>
<shopID>150001</shopID>
<paymentMethod>
<key>5</key>
<value>NETeller Withdrawal</value>
</paymentMethod>
<merchantTransactionID>fb367c95-ea22-zz3f-98f3-24c37zzcz431df</merchantTransactionID>
<paymentID>bde24dfd-1410-4746-a577-f3cac91634d2</paymentID>
<userID>810e6986-9491-4193-9d71-f8c45b</userID>
<paymentProvider>
<key>19</key>
<value>Paysafecard</value>
</paymentProvider>
<amount currencyCode="EUR">10.22</amount>
<creationType>
<key>1</key>
<value>User</value>
</creationType>
<state>
<id>6a259565-ed5e-43a6-b590-1310cc9d602a</id>
<definition>
<key>142</key>
<value>ExecutedByProvider</value>
</definition>
<createdOn>2020-03-19T09:30:45.0782778Z</createdOn>
<paymentStateDetails xsi:nil="true"></paymentStateDetails>
</state>
<isExecuted>true</isExecuted>
<baseAmount currencyCode="EUR">10.22</baseAmount>
<paymentDetails>
<detail xsi:type="keyStringValuePair">
<key>ProviderTransactionID</key>
<value>7f92d61e-7bb7-47a8-9832-0efb5117646f</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>ProviderExternalID</key>
<value>31352648</value>
</detail>
</paymentDetails>
<paymentAccount>
<paymentAccountID>28fcf044-47f0-4f3b-87d2-238c3c281150</paymentAccountID>
</paymentAccount>
</payment>
</initiatePaymentResponse>
The following payment states are returned in initiatePaymentResponse
:
Payment States | Description |
---|---|
ExecutedByProvider (142) | Success state; redirect user to SuccessfulPageUrl |
RefusedByProvider (100) | Error state, payment was not accepted by provider; |
ExecuteRequestSentToProviderCommunicationErrorOccured (339) | Error state; unexpected communication error occured during the payment execution process; redirect user to ErrorPageUrl |
ProviderCommunicationErrorOccurred (233) | Error state; Communication error during payment finalization |
Provider error codes
Notifications
The standard notification mechanism is used for notifying the merchant in the background (asynchronously) about payment state changes. For more information see PaymentStateChangedNotification.
Sample notification:
<?xml version="1.0" encoding="utf-16"?>
<handlePaymentStateChangedNotificationRequest
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<payment
xmlns:q1="http://www.cqrpayments.com/PaymentProcessing" xsi:type="paymentWithPaymentAccount">
<merchantID>B2BTestMerchant</merchantID>
<shopID>ProviderTesting</shopID>
<paymentMethod>
<key>5</key>
<value>NETeller Withdrawal</value>
</paymentMethod>
<merchantTransactionID>123465498</merchantTransactionID>
<paymentID>8de84694-c9ba-4584-be1a-aa668b3124f3</paymentID>
<userID>a4b22410-e170-495c-b072-c0d94c</userID>
<paymentProvider>
<key>19</key>
<value>PaysafecardProvider</value>
</paymentProvider>
<amount currencyCode="EUR">10.22</amount>
<creationType>
<key>1</key>
<value>User</value>
</creationType>
<state>
<definition>
<key>142</key>
<value>ExecutedByProvider</value>
</definition>
<createdOn>2020-05-03T11:24:43.617</createdOn>
<paymentStateDetails xsi:nil="true" />
</state>
<baseAmount currencyCode="EUR">10.22</baseAmount>
<paymentDetails>
<detail xsi:type="keyIntValuePair">
<key>ProviderTransactionID</key>
<value>7f92d61e-7bb7-47a8-9832-0efb5117646f</value>
</detail>
</paymentDetails>
<paymentAccount>
<paymentAccountID>00289949-e579-465b-ac49-354ff5d37fd4</paymentAccountID>
</paymentAccount>
</payment>
</handlePaymentStateChangedNotificationRequest>
Updated 9 months ago