mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-11 21:37:40 +08:00
docs(stripe): fix type and naming issues (#1129)
This commit is contained in:
parent
234ed6e9e7
commit
8e0027b974
@ -67,10 +67,10 @@ export interface StripeCardTokenParams {
|
|||||||
* number: '4242424242424242',
|
* number: '4242424242424242',
|
||||||
* expMonth: 12,
|
* expMonth: 12,
|
||||||
* expYear: 2020,
|
* expYear: 2020,
|
||||||
* cvc: 220
|
* cvc: '220'
|
||||||
* };
|
* };
|
||||||
*
|
*
|
||||||
* Stripe.createToken(card)
|
* Stripe.createCardToken(card)
|
||||||
* .then(token => console.log(token))
|
* .then(token => console.log(token))
|
||||||
* .catch(error => console.error(error));
|
* .catch(error => console.error(error));
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user