Use the Payment Method Capture Widget to securely capture payment details (credit card and bank account) by embedding it in your website and save payment details in Debitsuccess systems.
Capture new payment method details for an account using the GetPaymentToken call as part of the sign-up process. If the account does not already exist it should be loaded through PostCustomerAccount (Payment method information can be configured as optional at the Debitsuccess end)
Call GetPaymentToken with the following key parameters:
Request
Parameter
Description
AccountReferenceNo
Debitsuccess reference for account
ExternalAccountReferenceNo
Business/Client reference for account (note: either AccountReferenceNo or ExternalAccountReferenceNo or both can be provided
RequestType
UpdatePaymentDetail
PayMethodType
CreditCard, BankAccount or Both
CallBackURL
Redirect URL where the customer will be redirected to after completion of the PayNow process.
Response
The response message for GetPaymentToken Debitsuccess returns a URL PaymentFormURL which is a unique reference that the customer should be redirected to so that they can enter the payment method information. Once the customer completes the entry of their payment details they will be redirected to the URL provided in the request CallBackURL field and notification will be sent to the webhook address configured if any.
Debitsuccess hosted form in payment method capture mode for Credit Card:
Debitsuccess hosted form in payment method capture mode for Bank Account:
GetPaymentToken— Retrieves a token and a URL that allows you to redirect the customer to a form to either capture new payment details (bank account or credit card) or process a real-time payment.
On this page:
No labels
0 Comments
You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
0 Comments