Digital wallets
Digital wallets
Improve your checkout conversion by accepting payments via Apple and Google Pay

Solidgate supports accepting wallet payments, including Google Pay and Apple Pay. With these payment methods, customers can easily purchase without manually entering their credit card data during checkout.

warning
You can use our integration with Apple Pay and Google Pay through both a Guide
Understand how to integrate the payment form into your product.
payment form
and a Guide
Easily build a safe and simple payment page with our straightforward, step-by-step guide.
payment page
. The information below is specifically tailored for merchants directly integrating with these digital wallet services.

Google Pay

To start processing Google Pay payments, you must first register with Google. Once the integration is complete, you can add the Google Pay button to your checkout page and start requesting your customer’s encrypted payment information. As a merchant, sign up with Google as a Google Pay merchant here and adhere to the prescribed procedure. Subsequently, Google will assign a unique Google Pay merchant ID essential for production.

It’s worth noting that Google Pay is only available on Android devices, so it’s important to consider this when deciding if it’s the right payment option for your business. Additionally, Google Pay also works with Web, so it is significant to check that your website is compatible with the web integration and works correctly with the mobile app integration.

When you submit a payment data request to the Google API, be sure to include the following parameters:

1
2
'gateway': 'solid'
'gatewayMerchantId': '\<Replace with your public api key\>'

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
    apiVersion: 2,
    apiVersionMinor: 0,
    allowedPaymentMethods: [{
        type: 'CARD',
        parameters: {
            allowedAuthMethods: ['PAN_ONLY', 'CRYPTOGRAM_3DS'],
            allowedCardNetworks: ['AMEX', 'DISCOVER', 'MASTERCARD', 'VISA']
        },
        tokenizationSpecification: {
            type: 'PAYMENT_GATEWAY',
            parameters: {
                'gateway': 'solid',
                'gatewayMerchantId': ''
            }
        }
    }]
}

Once you have completed the integration of Google Pay into your payment system, the next step is to test the integration to ensure that it works correctly.

You can use the Google Pay API Sandbox to test your integration and simulate transactions without incurring any actual charges. You can also use test cards provided by Google to test different scenarios, such as successful and failed transactions.

3DS authentication

Google Pay transactions using the PAN_ONLY data type can be routed for 3D verification steps. This should be done to obtain liability shift and minimize your payment risks. The integration flow is similar to regular card payments and is described below:

  1. Initiate
  2. Receive webhook with redirect link
  3. Redirect your customer to proceed with 3D Secure
  4. After the customer completes the authentication, you will receive the corresponding status of the payment, and the customer will be returned to your status page.


Related articles FAQ

Google Pay 3DS
Why Google Pay may not have 3D authorisation?
Google Pay availability across web browsers
I can’t pay with Google Pay
Google Pay domain verification

Apple Pay

Apple Pay be used for in-app purchases on participating apps. Users can add their credit and debit cards to the service, and then use it to make payments. Apple Pay also supports online purchases by allowing users to authenticate purchases with Touch ID, Face ID, or a passcode. It is considered as secure and easy way to make payments using Apple devices.

Preparation

  1. Ensure you have an Apple device compatible with Apple Pay
  2. Check Safari compatibility if you’re using it for web payments
  3. Ensure you’re in a region that supports Apple Pay and have a card added to the Apple Pay wallet

Acquire credentials

  1. Obtain your unique Apple Pay certificate from Apple
  2. Create an Apple Merchant ID through an active Apple account

Set Up

  1. Integrate Apple Pay into your checkout system ensuring its alignment with your existing transaction process
  2. Display the Apple Pay button on your checkout interface

Transaction Process

  1. Capture the payment details from customers via Apple Pay
  2. Securely transmit this data to Solidgate using the API Reference
  3. Solidgate will process the transaction and send a confirmation

Follow Apple Pay Guidelines

  1. Adhere to Apple’s trademarks and copyrights guidelines when promoting or referencing
  2. Stick to Apple’s developer identity guidelines if you’re providing Apple Pay access on your platform
  3. Ensure you’re abiding by the acceptable use guidelines set by Apple for businesses

Certification

Login to Apple, afterward:

  • Click on the Certificates, IDs & Profiles option
  • From the newly opened screen select Merchant IDs and click on the (+) button
  • Select an ID and enter a short description
  • Once the ID is created, a confirmation screen appears
    It is recommended that the merchant ensures that the entered data is valid.
  • Click the Register button
    If the registration is successful a screen showing ‘Registration complete’ appears.
  • Click on the row with the newly created ID and choose the Edit button
    The options to create Identity and Payment Processing Certificates are shown. On this page, the process of adding/verifying domains can be started.

Creating a payment processing certificate

  • From the Edit screen of the Merchant IDs panel choose the “Create Certificate” button
  • Answer “No” to the question “Will payments associated with this Merchant ID be processed exclusively in China?” and click “Continue”
    The next screen contains the instruction on how to create the CSR (and the accompanying it public and secret keys).
  • Get certificate by signing request (.csr) file from Solidgate Support
    This is the file that needs to be uploaded to Apple’s web page.
  • From the Browse dialogue choose the file by clicking on the “Choose File” button and click “Continue”
    If the certificate is successfully created, a screen will appear allowing the signed .cer file to be downloaded. Click on the “Download” button and save the file to the disk.
  • The Payment Processing Certificate (with a .cer extension) must be sent to Solidgate Support

Creating an identity certificate

The identity certificate is needed when merchants want to process Apple Pay payments that originate from within a web page since Apple needs to verify the ownership of the domain from which the payment is initialized. One identity certificate may be used to identify multiple domains.

  • From Merchant IDs select the desired ID for creating the identity certificate
    Choose the Create Certificate button found in the Merchant Identity Certificate box.
  • The steps for creating and exporting the certificates are the same as for Payment Processing Certificates with the only difference being that the following type should be chosen: Key Size – 2048 bits; Algorithm: RSA

Adding domains to the Apple Merchant ID

To use the “Apple Pay on the Web” each of the domains from which the payment request will be made should be verified. The verification is done by uploading a file on a specified location on the merchant’s website.

  • Select the Add Domain button from the Merchant IDs screen and the Register Merchant Domain window appears
    NOTE: There are a few requirements to the server on which the domain runs (e.g. the merchant server must support the TLS 1.2 protocol and the pages must be served via https). More information can be found here Reference . The above link also contains a complete guide on how to verify the domain.

  • From the Register, Merchant Domain window enter the desired domain to be verified and should press Continue

  • Download the file generated by Apple and upload it to the path shown on the screen

  • Once the file is uploaded the client must click on the Verify button
    The uploaded file must be publicly accessible via https.

To process Apple Pay payments, you must configure your Apple developer account, complete the certification process, and enhance your iOS app or website to have the capability to access Apple Pay payments.

For Apple Pay configuration resources, please refer to the following:

Please note that not all devices and browsers support Apple Pay.

Liability shift

Apple Pay transactions using Mastercard and American Express imply a liability shift to the card issuer - similar to 3D secure transactions. Please be aware that although this is a common practice, the issuers are not bound by these terms and can change the liability agreement at any time.


Related articles FAQ

Disable CloudFlare SSL/TLS for ApplePay
Why Apple Pay card number differs from actual card?
I can’t pay with Apple Pay