@@ -11,6 +11,7 @@ A CiviCRM **Contact** is the equivalent of a Stripe **Customer**.
...
@@ -11,6 +11,7 @@ A CiviCRM **Contact** is the equivalent of a Stripe **Customer**.
For a **one-off contribution** an invoice is *NOT* created, so we have to use the Stripe `Charge ID`. In this case we set the contribution `trxn_id` = Stripe `Charge ID`.
For a **one-off contribution** an invoice is *NOT* created, so we have to use the Stripe `Charge ID`. In this case we set the contribution `trxn_id` = Stripe `Charge ID`.
For a **recurring contribution** an invoice is created for each contribution:
For a **recurring contribution** an invoice is created for each contribution:
* We set the contribution `trxn_id` = Stripe `Invoice ID`.
* We set the contribution `trxn_id` = Stripe `Invoice ID`.
* We set individual payments on that contribution (which could be a payment, a failed payment, a refund) to have `trxn_id` = Stripe `Charge ID`
* We set individual payments on that contribution (which could be a payment, a failed payment, a refund) to have `trxn_id` = Stripe `Charge ID`