Skip to content

Dreamvention/google_pay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google PayTM with OpenCart

Google PayTM lets your customers pay with the press of a button — using payment methods saved to their Google Accounts. Google Pay works for both customers shopping at physical store and online in your apps or websites. Now, this is also possible with OpenCart's extension.

With Google PayTM extension, you can offer one-click checkout for your customers, reduce abandoned cart rate and increase conversion.

Here is how you can set up Google PayTM today:

  1. By using Google PayTM extension, you adhere to the Google PayTM APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.
  2. Download the Google PayTM OpenCart Extension for the marketplace download from opencart
  3. Install it via the Extension Installer or upload all file into the root folder of your OpenCart installation. go to extension installer
  4. Go to Admin -> Extensions -> Payments and click install next to Google PayTM go to extensions / payment methods
  5. Go to Google PayTM settings.

IMPORTANT NOTES     Google PayTM only generates transaction data, but does not actually process or settle the payment. Thus, the transaction data has to be sent to a Payment Service Provider (PSP), such as Braintree.

Google PayTM Payment Service Providers

Google payTM requires a payment provider like Braintree to process or settle the payments.

Enable Google payTM with Braintree

Let's see how we can connect Google PayTM with Braintree, one of many supported gateways.

  1. log in to Braintree https://www.braintreegateway.com/login Log in to braintree
  2. Click on the gear icon in the top right corner Find gear icon and go to processing
  3. Click Processing from the drop-down menu
  4. Scroll to the Payment Methods section FActivate google pay<sup>TM</sup> for braintree
  5. Next to Google PayTM, click the toggle to turn it on
  6. In the top menu click API Click API in menu and generate new api keys
  7. Now generate a New API key and a New Tokenized key
  8. Return to the Admin panel of Google PayTM OpenCart extension and open tab Gateway. Go to OpenCart Google pay<sup>TM</sup> admin panel
  9. Select Braintree and past the credentials from Braintree API tab accordingly.
    Click view to see private key Copy the credentials to OpenCart admin panel
  10. Select Braintree Environment as Production/Live
  11. In tab General select Status Enabled and click Save.

That is it. You have successfully setup Google Pay with Braintree for OpenCart.

Buy with Google Pay on OpenCart Checkout

Your customer will thank you for simplifying their life as well as securing their credit card information since they don't have to enter their credit card data on the site and google pay only shares the tokenized credit card data.

Enable Google pay with Global Payments

Google pay with Global Payments

Global payments is a popular payment method used with Google pay.

  1. Register with Global Payments.

New merchants can sign up for Global Payments services by completing the following form: https://www.globalpaymentsinc.com/en-gb/contact-us/new-customers

Create account with Global Payments

  1. Once onboarded, your account manager will securely pass to you your account details:

Merchant ID (Client ID)

Shared Secret

These are the details you need to get started with Global Payments eCommerce.

  1. In order to enable Google Pay on Global Payments eCommerce, simply request this from your account manager.

  2. In your OpenCart admin panel go to Google Pay -> Gateways and select Global Payments. Enter the credentials as follows.

Copy the credentials to OpenCart admin panel

  1. Select Global Payments Environment as Production/Live

  2. In tab General select Status Enabled and click Save.

That is it. You have successfully setup Google Pay with Global Payments for OpenCart.