Contenu
More information
You must contact your account manager to get the information to configure your account on Payline (list of contracts).
Then please send an email to support with the information, so we can proceed the setup in your Payline merchant account.
The code (card_code) of the payment method is: GOOGLE_PAY
You can select 3DS or PAN mode. 3DS mode allows you to verify the enrollment of the bank card for mobile payment and obtain the transfer of responsibility.
Do not display on Computer if mode allowerdAuthMethod='Crypto3DS' (3DS MODE).
This payment method is not displayed on iOS. Google Pay payment method display is only available on all Chrome desktop and mobile browsers.
To get Merchant Identifier and Merchant Name fields, you must to register for Google Pay API to get access Google Pay Developer Profile from the Web Developper menu.
For the allowedAuthMethod field , you must select the 'Both' option.
Follow the links for the integration Google Pay Web developer documentation, Google Pay Web integration checklist and Google Pay Web Brand Guidelines.
When registering
For the integration of the Android SDK the APK (com.example.shop) must be whistelisted with Google Pay. You must register with the Google Pay API on the Google Pay Developer Profile in Android Documentation menu.
Follow the links for the integration Google Pay Android developer documentation, Google Pay Android integration checklist and Google Pay Android brand guidelines
All merchants must adhere to the Google Pay™ APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.
You must perform 'pilot' transactions to validate the transaction in production.
Once the payment method is activated, it can be used through standard Payline functions.
Integration mode in WebPayment API mode and DirectPayment API are available.
Payline offer two authorization methods Google Pay API CardAuthMethods "PAN_ONLY" and "CRYPTOGRAM_3DS" with CB, Visa, Mastercard and Amex.
The doWebPayment and getWebPaymentDetails services are available.
The object Payment will be sent by the merchant with the values Action and Mode.
The getWebPaymentDetails service returns the result of the transaction.
Available services:
The merchant must refer to the Google document to create a JavaScript to initiate payment, display the button and manage the event CallBack Google Widget.
Then he will have to recover the payload of Google Pay, to transmit in the request of authorization to Payline in the paymentData .TokenData
In the second step of Google Pay™ documentation, you must update the following fields:
In direct mode, if a payload is entered then the value of card .panType will be valued as indicated below:
The same fields as for a credit card type transaction.
On the test environment, you need to run tests from a Google account that will return a test card instead of your actual card.
Monext Online informs you of the result of a payment via ShortMessage, according to the integration method offered by the payment method.
The states returned:
Status management and return codes are listed here .