Apple and Google Pay

Overview

Accept payments in your CS-Cart store with the Braintree payment gateway. It provides secure and seamless experience to your customers across all devices.

Braintree provides an additional layer of verification with 3D Secure. You can quickly enable it in the payment method settings. In this case, the customer will be prompted to authenticate using their bank login credentials.

What the customer will see

Braintree offers a variety of convenient ways to accept payments:

Apple Pay

Apple Pay is a mobile and online purchasing experience for customers with supported iOS and macOS devices.

For more details, please see Apple Pay feature.

Google Pay

Note

Braintree states that Google Pay is currently available in beta with the latest Android and JavaScript SDKs.

Google Pay provides a mobile purchasing experience both in app and on the mobile web for customers with supported Android devices. It allows customers to pay with cards stored in their Google account, in addition to those stored in Android Pay.

Note

SSL certificate is required to use Google Pay.

For more details, please see Google Pay feature.

Drop-in UI

The quickest way to pay is Drop-in UI, which is also supported in the add-on. The add-on makes it possible to securely store customer information in the Braintree Vault so that your customers don’t need to re-enter their information each time at checkout. Refer to this article for more details.

PayPal

The add-on provides the smoothest PayPal integration. There’s no additional work required to accept PayPal payments.

To learn the basics of payments and how to use Braintree features, you may want to have a look at Braintree Knowledgebase.

Get integrated quickly using our guide below.

Compatibility

The add-on is compatible with CS-Cart 4.3.5 and above.

Note

The PHP version should be at least 5.4.0.

Don’t know what archive to download to install the add-on? Read here.

Features

  • Allow your buyers to pay via Braintree.
  • Accept payments via PayPal, Apple Pay and Google Pay.
  • Issue refunds right from the admin panel.
  • Add an extra layer of verification with 3D Secure.
  • Accept debit and credit card payments.
  • Accept main credit cards worldwide: Visa, MasterCard, American Express, Discover, JCB, Amex, Diner’s, Maestro, UnionPay.
  • Keep the business safe and secure with advanced features of data protection.
  • Allow your customers to place orders within seconds.
  • Available for merchants in the United States, Canada, Australia, Europe, Singapore, Hong Kong, Malaysia, and New Zealand.

Support

This add-on is developed and published by Simtech Development Ltd., a CS-Cart developer. You are guaranteed a quality add-on supported by the future versions. If you need help, please contact us via our help desk system.

Demo

You can try Apple and Google Pay in our demo store.

Start selling with Braintree

In this section, you can find details of creating a Braintree account. You will also learn how to get Merchant ID, Merchant Account ID, Public Key, and Private Key required to create the Braintree payment method.

So, we are on the home page of Braintree. Log in to your Braintree account or create a new one.

Getting Merchant ID, Public Key, and Private Key

To get Merchant ID, Public Key, and Private Key, navigate to Account → My User in your Braintree account and click the View Authorizations button.

On the opened page, you can find the necessary data:

Setting up Apple Pay

In order to accept payments via Apple Pay, you will need to enable it in the Control Panel. To do so:

  1. In the Control Panel, navigate to Settings > Processing > Accept Apple Pay. Click Options.
  1. Under Web Domains, click Add a domain.
  1. Enter your fully qualified domain name and download your domain association file.
  1. Host the file at /.well-known/apple-developer-merchantid-domain-association on your site for domain verification.
  2. Put the downloaded file in the root directory of your store.
  3. Click Done.

Setting up Google Pay

In order to accept payments via Google Pay, you will need to enable it in the Control Panel. To do so:

  1. In the Control Panel, navigate to Settings > Processing > Google Pay.
  1. If Google Pay is not yet enabled, click the toggle to enable it

How is the customer information stored?

The customer information is securely stored in the Braintree Vault including payment method information.

When a customer pays using Drop-in UI they can save their payment info for future purchases.

If the customer selects the I confirm saving my CC info on the Braintree server checkbox at checkout, the customer information (first name, last name, company, email, phone, email, and website) will be saved in the Braintree Vault.

The customer information is taken from the profile fields:

If the checkbox is cleared, the customer information will not be saved and the customer record will be deleted from the Braintree Vault.

When a customer registers in the store, a record is created in the Vault even if the customer has not paid with Braintree yet.

When a customer updates their information in the profile, this information is updated on the Braintree side too.

If the customer does not want to store their payment information on Braintree, they can delete their record from Braintree from their profile page:

For more information, refer to Braintree Developer Docs.

Managing in the admin area

Installing the add-on

Install the Apple and Google Pay add-on on the add-ons list page (“Add-ons” → ”Manage add-ons”). Click the + button in the top right corner, select an archive and click Upload & install. You can now find the installed add-on in the list of installed add-ons, just make sure it is set to Active.

Setting up the add-on

Here are the settings for the add-on:

  • Show confirmation to save CC info in Braintree server—The confirmation will be shown only for the Braintree payment method with the Drop-in UI option.

Creating a payment method

To create and configure a payment method:

  1. Go to Administration → Payment methods.
  2. Click the + button to create a new payment method.
  3. Select Braintree from the Processor selectbox.
  1. Switch to the Configure tab, enter the data of your payment account: Merchant ID, Merchant account ID, Public Key, and Private Key. To get these credentials, have a look at the Getting Merchant ID, Public Key, and Private Key and Getting Merchant Account ID sections.

You can choose from several payment methods: Credit card, Apple Pay, Google Pay, Drop-in UI, or PayPal.

Note

Remember to configure the Apple Pay and Google Pay additionally in the Braintree Control Panel. See Setting up Apple Pay and Setting up Google Pay respectively.

The Store prefix setting helps to identify an order in the Braintree account if you use the Braintree payment method in more than one store. The prefix should contain up to three alphabetical characters. Leave blank if you use Braintree only in one store.

Note

3D Secure works only with credit cards and Drop-in UI payment options. It is not automatically enabled in production accounts and is only compatible with certain Braintree configurations in specific regions. If you are interested, contact Braintree Support team and tell them you’re interested in 3D Secure. They can help determine if you can use 3D Secure and if so, enable the 3D Secure setting.

Processing refunds

The add-on lets you issue refunds right from the admin panel.

To do this, first go to Orders > View orders and open an order you want to issue a refund for.

In the Refund amount field, enter the amount you want to refund and click Refund.