Summary:
Automatically create a CiviCRM contribution record with status = Pending when the payment processor returns pending.
- Contribution record with Status "Pending" is sending to queue after pending payment is created.
- No TY Email would be trigger after this payment create
- Should have logic as it already, but need to double check:
- Payment.Create is using notificationForCompleteOrder, there is a one as notificationForPayment which is false as default and notificationForCompleteOrder true as default, so should be fine, but we will test that when we actually adding 'pending' status.)
- Record contains all necessary transaction metadata, if this is a recurring donation/have MC based on this initial one
- Once the status updated to complete, should use the recurring token to create a recurring record