2.2.0 • Published 4 days ago

@plasma-platform/payments v2.2.0

Weekly downloads
5
License
ISC
Repository
gitlab
Last release
4 days 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

4 days ago

2.1.0

1 month ago

1.0.2

8 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

8 months ago

2.0.0

5 months ago

1.0.1

1 year ago

1.0.0

3 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.6-next.0

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2-next.7

4 years ago

0.0.2-next.6

4 years ago

0.0.2-next.5

4 years ago

0.0.2-next.4

4 years ago

0.0.2-next.3

4 years ago

0.0.2-next.2

4 years ago

0.0.2-next.1

4 years ago

0.0.2-next.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1-next.2

4 years ago

0.0.1-next.3

4 years ago

0.0.1-next.1

4 years ago

0.0.1

4 years ago