Giter Site home page Giter Site logo

luismendes070 / google-pay-button Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google-pay/google-pay-button

0.0 2.0 0.0 18.46 MB

Google Pay button - React, Angular, and custom element

License: Apache License 2.0

Shell 5.64% JavaScript 5.99% TypeScript 88.37%

google-pay-button's Introduction

The Google Pay button

The Google Pay API enables fast, simple checkout on your website. This provides convenient access to hundreds of millions of cards that are saved to Google Accounts worldwide.

See Google Pay in action:

Buy with Google Pay

This repository contains Google Pay button implementations for compatible with popular website frameworks even easier.

Web component

npm version

The Google Pay web component button makes it easy to integrate Google Pay into your website using standards based custom elements. Web components can be used directly in a standard HTML web application as is, and is also compatible with many popular web frameworks.

npm install @google-pay/button-element

Find out more about the Google Pay web component button.

React

npm version

Web components are more difficult to consume in a React application due to the extra work involved in binding to web component properties with React.

A separate Google Pay React button has been created to make it easy to integrate Google Pay into your React website.

npm install @google-pay/button-react

Find out more about the Google Pay React button.

Angular

npm version

An Angular version of the Google Pay button has been created to make it easier to integrate Google Pay into your Angular website. The advantage of using the Angular version of the Google Pay button over the web component is that it eliminates the need to register CUSTOM_ELEMENTS_SCHEMA.

npm install @google-pay/button-angular

Find out more about the Google Pay Angular button.

Other frameworks

The intention is for the web component to support other web frameworks. Support for additional framework specific libraries will be considered based on demand.

Have any questions?

Ask it on the discussions section of the Google Pay button project.

google-pay-button's People

Contributors

release-please[bot] avatar socsieng avatar dependabot[bot] avatar axelniklasson avatar jlugia avatar stewartmcgown avatar zeroasterisk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.