Extrait | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IntegrationThe Widget integration (column / tab or Lightbox mode), takes place in only 3 steps :
The minimum HTML page for generating a payment form is as follows:
The data-token is the session token for authentication and is obtained in response to the request to initialize a payment (doWebPayment). In order to avoid that a new initialization is performed during each refresh of the page, you must either use a session on your server to store it, or check if the current URL already contains a payment token in a GET parameter named paylinetoken. Here is an example to reuse the token present in the URL:
Additional attributes that you can use in the <div> tag allow you to customize the display of the form. For example; if you do not want the payment form to appear automatically when your page is displayed :
Examples of integration of Widget modesAccording to the parameters, here are the examples of integration :
When a form is requested with several means of payment, some of which are conditioned by the return of a partner API, then:
The order in which the payment methods are displayed is carried out with the order specified in the contractList tag of the doWebPayment. JavaScript APIIn order to interact with the payment form, Payline offers a JavaScript API so that you keep control of the form. Consult the JavaScript API. CSS customizationCustomizing the style of the payment form is possible by overriding the stylesheet provided by default by Payline. Consult the CSS customaton. Lifecycle callbackExpense management functions The cost management is present on the payment form and corresponds to the Transaction insert:
The cost management excludes in the following cases:
|
Features Fee Management
The expense management is present on the payment form and corresponds to the Transaction insert:
Back office : Configure the payment method | Back office : transaction details | Payment page |
---|---|---|
Fee management excludes in the following cases:
- Wallet Payment
- ShortCut Payment
- Payment Rec / NX
Linked pages
Contenu par étiquette showLabels false max 10 spaces com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@9a3 showSpace false sort title type page cql label = "widget" and label = "integration" and label = "en" and type = "page" and space = "DT" labels bancontact belgique choixdelamarque