hansemannn / titanium-stripe

Use the native Stripe iOS/Android SDK in Appcelerator Titanium.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Titanium Stripe

Use the native Stripe SDK's (iOS/Android) in Titanium!

Requirements

  • Titanium SDK 9.2.0+
  • iOS 12+
  • Android 5+
  • A server to generate the ephemeral key (e.g. with Node.js or PHP)

Example

See the app.js for a detailed example.

Apple Pay Support

Follow steps listed here:

https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=payment-sheet#ios-card-scanning

  • Register for an Apple Merchant ID
  • Create a new Apple Pay certificate
  • Add Entitlements.plist to root with Merchant ID created above
  • Enable Apple Pay payment method in Stripe account:

https://dashboard.stripe.com/settings/payment_methods/connected_accounts

Google Pay Support

Follow steps listed here:

https://stripe.com/docs/payments/accept-a-payment?platform=android&ui=payment-sheet#android-google-pay

Join the Google Pay API Test group to use test cards in the Test Environment:

https://groups.google.com/g/googlepay-test-mode-stub-data/about

  • Enable Google Pay payment method in Stripe account:

https://dashboard.stripe.com/settings/payment_methods/connected_accounts

Author

Hans Knöchel

License

UNLICENSED

About

Use the native Stripe iOS/Android SDK in Appcelerator Titanium.

License:Other


Languages

Language:Objective-C 95.6%Language:C++ 4.1%Language:JavaScript 0.1%Language:Kotlin 0.1%Language:Swift 0.1%Language:C 0.0%