From 747531d8435e23842eba7ca7d728c4478bf4d657 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 17 Jan 2020 15:36:00 +0000 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0085ba9..f5209bc 100644 --- a/README.md +++ b/README.md @@ -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.