This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
987fe8c
commit 747531d
Showing
1 changed file
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
# cordova-plugin-stripe-intent | ||
Cordova plugin specifically for the new Intent API. | ||
Cordova Stripe Plugin specifically for the new Intent API, working. | ||
|
||
## Why? | ||
|
||
There is currently no way to integrate a Hybrid Ionic / Cordova application with Stripe for payment intents (Required for SCA). This fixes that. | ||
|
||
## Requirements | ||
Currently only on Android, and extremely experimental - I have this working on Android 9.0. | ||
This plugin requires a minimum of cordova@9 and cordova-android@8. | ||
Currently only on Android, this plugin requires a minimum of cordova@9 and cordova-android@8. I have been unable to test older versions of Cordova Android. Therefore if you want to try it, feel free. | ||
|
||
## How do I get this working? | ||
|
||
If you're not sure how to get this working, don't download it just yet- It's really not ready. | ||
Open a bash / cmd in your Ionic root folder and do the following: | ||
``` | ||
ionic cordova plugin add cordova-stripe-intent | ||
``` | ||
Or, download the latest release and unpack it into folder and then do the following | ||
``` | ||
ionic cordova plugin add ../FolderName | ||
``` | ||
You can then build you app, and fingers crossed it will work fine. | ||
|
||
## What is the backend? | ||
|
||
You can find the backend code [HERE](https://github.com/stripe-samples/accept-a-card-payment/blob/master/without-webhooks/server/php/public/pay.php) | ||
|
||
## Issues | ||
I am expecting to see issues, this is NOT the full release. This is a "working" copy | ||
if you have an issue, please feel free to create one. | ||
|
||
|
||
## Todo | ||
1. The payment is 100% working, and goes through fine. The issue is, I have to pass the payment success back to the Cordova / Ionic web view. | ||
iOS implementation. |