James1x0 / ember-braintree

Braintree's Drop-In Payment UI as an Ember component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-cli-braintree

Braintree's Drop-In Payment UI as an Ember component. (using the V3 client)

Installation

yarn add ember-cli-braintree

Usage

{{braintree-dropin authorization=braintreeClientToken onNonce=(action 'myAction')}}

Events

updateRequestable

Returns requestPaymentMethod function from braintree

updateInstance

Returns braintree instance

onRequestable

Returns a braintree event

onNonce

When action is specified, the component calls "requestPaymentMethod" onRequestable, and then updates the nonce

About

Braintree's Drop-In Payment UI as an Ember component

License:MIT License


Languages

Language:JavaScript 82.4%Language:HTML 17.3%Language:CSS 0.3%