implement Double-Opt-In

This commit is contained in:
Marc Michalsky 2020-06-29 16:41:45 +02:00
parent 675b682e0e
commit 5ad7069abc
No known key found for this signature in database
GPG key ID: AC2D4E00990A6767
8 changed files with 172 additions and 1 deletions

View file

@ -221,6 +221,7 @@ class CRM_Twingle_Profile {
'membership_type_id',
'membership_type_id_recur',
'membership_postprocess_call',
'double_opt_in'
),
// Add payment methods.
array_keys(static::paymentInstruments()),
@ -293,6 +294,7 @@ class CRM_Twingle_Profile {
'custom_field_mapping' => NULL,
'membership_type_id' => NULL,
'membership_type_id_recur' => NULL,
'double_opt_in' => NULL,
)
// Add contribution status for all payment methods.
+ array_fill_keys(array_map(function($attribute) {