2.2.0 • Published 1 year ago

@plasma-platform/payments v2.2.0

Weekly downloads
5
License
ISC
Repository
gitlab
Last release
1 year ago

version nextVersion downloads license dependency


Full documentation install: npm i @plasma-platform/payments -S

Short documentation

Table of Contents

StripePay

Stripe quick payment button by google & apple pays. Must be a stripe script insert in the index.html file:

Parameters

  • locale string? create stripe button by current locale (default: 'en')
  • stripePublicKey string stripe public key
  • currencyInfo object current currency info
  • isAuthorized boolean checking for user authorized
  • totalPrice number cart total price
  • stripeCountry string? stripe country code (default: 'US')
  • isChromeBrowser string? is google chrome browser checker (default: false)
  • createPayment function create payment method to tm payment clients api
  • createPaymentParams object default params to create payment method
  • confirmCardPayment function confirm card payment method to stripe api
  • failCallback function? method to stripe fail payment
  • successCallback function? method to stripe success payment
  • getLoadingStatus function? method to loading
  • canMakePaymentCallback function? caused after canMakePayment checking
  • renderCustomButton function? render custom button
  • pushPaymentInfoToAnalytics function? track info to analytics

Examples

<StripePay {...params} />

Returns string Component HTML

2.2.0

1 year ago

2.1.0

1 year ago

1.0.2

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

4 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.6-next.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2-next.7

5 years ago

0.0.2-next.6

5 years ago

0.0.2-next.5

5 years ago

0.0.2-next.4

5 years ago

0.0.2-next.3

5 years ago

0.0.2-next.2

5 years ago

0.0.2-next.1

5 years ago

0.0.2-next.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1-next.2

5 years ago

0.0.1-next.3

5 years ago

0.0.1-next.1

5 years ago

0.0.1

5 years ago