Skip to content
Snippets Groups Projects
Commit 3fe419f8 authored by mattwire's avatar mattwire Committed by mattwire
Browse files

Update documentation

parent c098d27e
No related branches found
No related tags found
1 merge request!1526.6 to master
...@@ -48,6 +48,13 @@ It's not advised that you use this API for anything else. ...@@ -48,6 +48,13 @@ It's not advised that you use this API for anything else.
This API is used by the client javascript integration and by third-party frontend integrations. This API is used by the client javascript integration and by third-party frontend integrations.
Please contact [MJW Consulting](https://mjw.pt/stripe) if you require more information or are planning to use this API. Please contact [MJW Consulting](https://mjw.pt/stripe) if you require more information or are planning to use this API.
Permissions: `access Ajax API` + `make online contributions`
#### `StripePaymentintents.createorupdate`
This API is used by the client javascript integration to create or update the `civicrm_stripe_paymentintent` table.
Permissions: `access Ajax API` + `make online contributions`
## Scheduled Jobs ## Scheduled Jobs
* `Job.process_stripe` - this cancels uncaptured paymentIntents and removes successful ones from the local database cache after a period of time: * `Job.process_stripe` - this cancels uncaptured paymentIntents and removes successful ones from the local database cache after a period of time:
......
...@@ -23,7 +23,7 @@ View/Download this extension in the [Extension Directory](https://civicrm.org/ex ...@@ -23,7 +23,7 @@ View/Download this extension in the [Extension Directory](https://civicrm.org/ex
#### Required extensions #### Required extensions
* [MJWShared extension](https://civicrm.org/extensions/mjwshared) version 0.9.4. * [MJWShared extension](https://civicrm.org/extensions/mjwshared) version 0.9.10.
* [SweetAlert extension](https://civicrm.org/extensions/sweetalert) version 1.4+. * [SweetAlert extension](https://civicrm.org/extensions/sweetalert) version 1.4+.
#### Recommended extensions #### Recommended extensions
......
...@@ -18,6 +18,14 @@ Add a payment processor and enter your *Publishable* and *Secret* keys given by ...@@ -18,6 +18,14 @@ Add a payment processor and enter your *Publishable* and *Secret* keys given by
The extension will show up in the extensions browser for automated installation. The extension will show up in the extensions browser for automated installation.
Otherwise, download and install as you would for any other CiviCRM extension. Otherwise, download and install as you would for any other CiviCRM extension.
## Permissions
To accept payments the user must have the following permissions as a minimum:
* `access Ajax API`
* `make online contributions`
This applies to both unauthenticated (anonymous) and authenticated users.
### How to update Stripe API version ### How to update Stripe API version
More info on how to change: [Stripe: Upgrading your API version](https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api). More info on how to change: [Stripe: Upgrading your API version](https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api).
......
...@@ -10,9 +10,14 @@ Releases use the following numbering system: ...@@ -10,9 +10,14 @@ Releases use the following numbering system:
* **[BC]**: Items marked with [BC] indicate a breaking change that will require updates to your code if you are using that code in your extension. * **[BC]**: Items marked with [BC] indicate a breaking change that will require updates to your code if you are using that code in your extension.
## Release 6.6 (not yet released 2021-02-20) ## Release 6.6 (not yet released 2021-02-20)
**Requires mjwshared (Payment Shared) 1.0**
* Support for [Payment Request Button](https://stripe.com/docs/stripe-js/elements/payment-request-button) which provides Google Pay and Apple Pay support. * Support for [Payment Request Button](https://stripe.com/docs/stripe-js/elements/payment-request-button) which provides Google Pay and Apple Pay support.
* To enable, you must set the "Country" in Stripe Settings and then the payment request button will replace the card element when the client browser supports it. * To enable, you must set the "Country" in Stripe Settings and then the payment request button will replace the card element when the client browser supports it.
* Collect billing name/email when possible and store in `civicrm_stripe_paymentintent.extra_data` table. This should help trace the donor when a payment does not complete.
* Handle 3d-secure authentication on thankyou page for "setupIntents". This will happen when a delayed recurring contribution is created and the card issuer requests additional authentication.
* Remove AJAX endpoint `civicrm/stripe/confirm-payment` and replace with `StripePaymentintent.Process` API call.
* Add `StripePaymentintent.createorupdate` API which is used by the frontend javascript and requires "make online contributions" permission.
## Release 6.5.8 ## Release 6.5.8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment