Skip to content
Snippets Groups Projects
Matthew Wire's avatar
mattwire authored
Switch to created_before/created_after API3 params for created because scheduled job cannot handle array
1b66a931
History

Stripe Import

Provides a set of API functions to import Stripe Customers / Subscriptions / Charges.

These can be used in scripts, manually or as a scheduled job.

The extension is licensed under AGPL-3.0.

Installation

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

You must use the "import" branch of the Stripe extension:

https://lab.civicrm.org/extensions/stripe/-/tree/import

You must apply API4 MembershipLog patch:

https://github.com/civicrm/civicrm-core/pull/28220

To disable membership updates make sure you have applied:

https://github.com/civicrm/civicrm-core/pull/28607

Getting Started

Known Issues

Subscription import for memberships renews the membership.

This is because Payment.create triggers a "Contribution Completion" which in turn triggers a membership renewal.

Workaround: https://github.com/civicrm/civicrm-core/pull/28607

But we'll need a way to conditionally enable/disable this as in "normal" operation we should renew the membership. But for initial import we don't want to.