Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbayliss committed Jan 17, 2020
1 parent 987fe8c commit 747531d
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions README.md
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.

0 comments on commit 747531d

Please sign in to comment.