Documentation Index
Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Online Payments
- Collect.js
payment_token variable, ensuring that your transaction request remains consistent regardless of the payment method used by your customers.
Apple Pay
Create collect.js attributes
Provide collect.js
data-price, data-country, and data-currency values. And create an
Apple Pay button.Upload the domain verification file
Apple requires merchants to upload the gateway’s Domain Verification File to your server to use
Apple Pay.
- Download the verification file from the Merchant Portal Apple Pay settings page.
- Upload the verification file to the
.well-knowndirectory on your web server. - Add your domain to the list of domains allowed to use Apple Pay.
Capture billing and shipping data
When
data-field-apple-pay-required-billing-contact-fields includes “postalAddress”, the
following data is included in the payment token:- address1
- address2
- state
- country
- city
- zip
data-field-apple-pay-required-billing-contact-fields includes “name”, the following data
is included in the payment token:- first_name
- last_name
data-field-apple-pay-required-shipping-contact-fields includes “postalAddress”, the
following data is included in the payment token:- shipping_address_1
- shipping_address_2
- shipping_state
- shipping_country
- shipping_city
- shipping_zip
data-field-apple-pay-required-shipping-contact-fields includes “name”, the following
data is included in the payment token:- shipping_firstname
- shipping_lastname
data-field-apple-pay-contact-fields includes “phone” and
data-field-apple-pay-contact-fields-mapped-to is “billing”, the following data is included in
the payment token:- phone
data-field-apple-pay-contact-fields includes “phone” and
data-field-apple-pay-contact-fields-mapped-to is “shipping”, the following data is included
in the payment token:- shipping_phone
data-field-apple-pay-contact-fields includes “email” and
data-field-apple-pay-contact-fields-mapped-to is “billing”, the following data is included in
the payment token:data-field-apple-pay-contact-fields includes “email” and
data-field-apple-pay-contact-fields-mapped-to is “shipping”, the following data is included
in the payment token:- shipping_email
HTML Example File
Google Pay
Create collect.js attributes
Provide collect.js
data-country and data-currency values. And create a Google Pay button.Capture billing and shipping data
In addition to the payment data that gets stored for all Google Pay transactions, the payment
token will include the following shipping fields when shipping address required is enabled:
- shipping_address_1
- shipping_address_2
- shipping_zip
- shipping_city
- shipping_state
- shipping_country
- shipping_firstname
- shipping_lastname
- phone (also requires phone_number_required to be enabled)
- address1 (also requires format to be “FULL”)
- address2 (also requires format to be “FULL”)
- zip
- city (also requires format to be “FULL”)
- state (also requires format to be “FULL”)
- country
- firstname
- lastname
- phone (also requires phone_number_required to be enabled)
HTML Example File
Advanced Integrations Gateway Components (Gateway.js)