WebMoney Redirect Deposit
The following method IDs are covered in this section:
ID | Name | Credit/Debit State |
---|---|---|
148 | WebMoneyRedirectDeposit | DepositedByProvider (29) |
Payment method interaction type: Redirection to External Payment Provider (see Interaction Types).
User will be redirected to the external payment provider. User logs into the external payment provider system and confirms the payment.
Redirect Integration
Coming soon
Content for this section will be added shortly.
Backend2BackendIntegration
The following parameters can be provided in initiatePaymentRequest.specificPaymentData:
key (value type, account type, required) | value |
---|---|
SuccessPageUrl (string) | The URL to which customer will be redirected when payments is completed successfully |
ErrorPageUrl (string) | The URL to which customer is redirected when an error occurs |
HomePageUrl (string) | The URL to redirect back to merchant |
CancelPageUrl (string) | The URL to which customer is redirected in case of the user aborting the payment |
PendingPageUrl (string) | The URL to which customer is redirected when the payment is pending |
PurposeOfPayment (string) | The purpose of the payment. |
Example initiatePaymentRequest:
<initiatePaymentRequest xmlns="http://www.cqrpayments.com/PaymentProcessing">
<merchantID>YourMerchantID</merchantID>
<shopID>YourShopID</shopID>
<merchantTransactionID>2fc2b8ba-b9d9-4759-87d7-1f52ca89d867</merchantTransactionID>
<paymentMethodID>148</paymentMethodID>
<amount currencyCode="EUR">20</amount>
<!--Optional:-->
<shopFee currencyCode="EUR">10</shopFee>
<userID>5c29161e-bd3a-4797-aade-70abbc9d40cd</userID>
<!--Optional:-->
<userIP>1.2.3.4</userIP>
<userSessionID>1234</userSessionID>
<creationTypeID>1</creationTypeID>
<!--Optional:-->
<specificPaymentData>
<data xsi:type="keyStringValuePair">
<key>SuccessPageUrl</key>
<value>http://successPageUrl</value>
</data>
<data xsi:type="keyStringValuePair">
<key>ErrorPageUrl</key>
<value>http://errorPageUrl</value>
</data>
<data xsi:type="keyStringValuePair">
<key>HomePageUrl</key>
<value>http://homePageUrl</value>
</data>
<data xsi:type="keyStringValuePair">
<key>CancelPageUrl</key>
<value>http://cancelPageUrl</value>
</data>
<data xsi:type="keyStringValuePair">
<key>PendingPageUrl</key>
<value>http://pendingPageUrl</value>
</data>
<data xsi:type="keyStringValuePair">
<key>PurposeOfPayment</key>
<value>PurposeOfPayment</value>
</data>
</specificPaymentData>
</initiatePaymentRequest>
Example initiatePaymentResponse:
<initiatePaymentResponse xmlns="http://www.cqrpayments.com/PaymentProcessing">
<payment xsi:type="paymentWithPaymentAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<merchantID>YourMerchantID</merchantID>
<shopID>YourShopID</shopID>
<paymentMethod>
<key>148</key>
<value>WebMoneyRedirectDeposit</value>
</paymentMethod>
<merchantTransactionID>2fc2b8ba-b9d9-4759-87d7-1f52ca89d868</merchantTransactionID>
<paymentID>c0b309a4-2c84-4acc-b8a3-436b94b291cd</paymentID>
<userID>5c29161e-bd3a-4797-aade-70abbc9d40cd</userID>
<paymentProvider>
<key>37</key>
<value>WebMoney</value>
</paymentProvider>
<amount currencyCode="EUR">10</amount>
<shopFee currencyCode="EUR">10</shopFee>
<creationType>
<key>1</key>
<value>User</value>
</creationType>
<userIP>1.2.3.4</userIP>
<state>
<id>ad833626-bdf6-470e-be7e-647df67c303c</id>
<definition>
<key>287</key>
<value>RedirectDataCreated</value>
</definition>
<createdOn>2012-02-10T16:11:00.1467192Z</createdOn>
<description>http://www.wmtransfer.com/#addfunds
LMI_PAYMENT_AMOUNT='20'
LMI_PAYMENT_DESC='PurposeOfPayment'
LMI_PAYMENT_NO='1526149'
LMI_PAYEE_PURSE='+4300080001034'</description>
<paymentStateDetails>
<detail xsi:type="keyStringValuePair">
<key>RedirectionUrl</key>
<value>http://www.wmtransfer.com/#addfunds</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>PostDataLMI_PAYMENT_AMOUNT</key>
<value>20</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>PostDataLMI_PAYMENT_DESC</key>
<value>PurposeOfPayment</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>PostDataLMI_PAYMENT_NO</key>
<value>1526149</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>PostDataLMI_PAYEE_PURSE</key>
<value>+4300080001034</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>PostDataKeys</key>
<value>LMI_PAYMENT_AMOUNT,LMI_PAYMENT_DESC,LMI_PAYMENT_NO,LMI_PAYEE_PURSE</value>
</detail>
</paymentStateDetails>
</state>
<isExecuted>false</isExecuted>
<baseAmount currencyCode="EUR">20</baseAmount>
<paymentDetails>
<detail xsi:type="keyStringValuePair">
<key>PurposeOfPayment</key>
<value>PurposeOfPayment</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>ProviderExternalID</key>
<value>1526149</value>
</detail>
</paymentDetails>
<paymentAccount>
<paymentAccountID>0</paymentAccountID>
</paymentAccount>
</payment>
</initiatePaymentResponse>
The following payment states are being returned in initiatePaymentResponse
:
Payment States | Description |
---|---|
InitiatedByProvider (3) | Success state; Payment is initiated on the provider side. Payment is waiting for user confirmation. Final state will be notified to the shop. Final state of the payment will be: - DepositedByProvider - AbortedByCustomer - Expired |
InitiateErrorReportedByProvider (4) | Error state |
RefusedByPaymentScoring (121) | Error state; Refused by the PXP Financial Risk System |
RefusedByProvider (100) | Error state, payment was not accepted by provider |
ProviderCommunicationErrorOccurred (233) | Error state; Communication error during payment initiation |
Notifications
Coming soon
Content for this section will be added shortly.
Updated about 6 years ago