Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.17 KB

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