Skip to content

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

License

Notifications You must be signed in to change notification settings

eddyinet/titanium-stripe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 95.6%
  • C++ 4.1%
  • Other 0.3%