Giter Club home page Giter Club logo

chargifyjs's Introduction

chargifyjs

Full Chargifyjs examples for HTML/CSS front-ends.

Install

  1. Download files
  2. Launch your localhost in terminal (example: php -S localhost:3000 - or any other standard HTML opener)
  3. Open your browser and go to localhost:3000/examples.html

Testing

To test with your own Chargify account, replace the publicKey and serverHost in each load.js file.

Example Images

alt text

Basic CC Form

alt text

CC with Billing Address

Screen Shot 2021-03-22 at 2 16 51 PM

PayPal

Screen Shot 2021-03-22 at 2 17 04 PM

ACH

Screen Shot 2021-03-22 at 2 17 43 PM

Gocardless

Screen Shot 2021-03-22 at 2 17 52 PM

Chargify.load

Within each example's code, look at the methods/load.js file for the full load json. Edit as needed.

CSS

Within each methods/load.js file, you'll find example CSS within the style section. For easier CSS, explore the CSS examples inside each index.html file. For example, here: https://github.com/mmeo/chargifyjs/blob/main/chargifyjs_prod/cc-only/index.html#L29-L39. You can pass something like:

#cc_number iframe {
  width: 100% !important;
  background-color: red;
  something: else;
} 

chargifyjs's People

Contributors

mmeo avatar

Stargazers

 avatar Nestor Salinas Morales avatar

Watchers

 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.