8000 GitHub - jupazave/conekta-button: An easy way to integrate Conekta Checkout, without a lot of work. It takes care of building forms, validating input, and securing your customers' card data.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.
/ conekta-button Public archive

An easy way to integrate Conekta Checkout, without a lot of work. It takes care of building forms, validating input, and securing your customers' card data.

License

Notifications You must be signed in to change notification settings

jupazave/conekta-button

Repository files navigation

conekta-button

An easy way to integrate Conekta Checkout, without a lot of work. It takes care of building forms, validating input, and securing your customers' card data.

How To

To integrate:

  • Import the conekta.js v0.3.2

  • Set your Conekta Public Key

      Conekta.setPublishableKey("key_XXXXXXXXXXXXXXX");
    
  • Call the plugin

      ConektaButton({
      	amount: 2000, //Amount must be in MXN cents
      	name: "Payment Name",
      	description: "Payment Description"
      });
    

Example

Conekta.setPublishableKey("key_E9Q2zxKmsKsNyZy9");
$("#conektaButton").click(function () {
    ConektaButton({
        amount: 2000,
		name: "Payment Name",
		description: "Payment Description"
    });
});

See an example here: http://jupazave.github.io/conekta-button/example/index.html

To Do

  • On succes param
  • On click default listener
  • Disable default button
  • Disable payment button after click
  • Show using card brand

About

An easy way to integrate Conekta Checkout, without a lot of work. It takes care of building forms, validating input, and securing your customers' card data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0