Skip to content

Commit

Permalink
Update Profile.php
Browse files Browse the repository at this point in the history
adding generic payment method
  • Loading branch information
mariav0 authored Jun 5, 2023
1 parent 518f880 commit f7612b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Twingle/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ public static function paymentInstruments() {
'pi_ideal' => E::ts('iDEAL'),
'pi_post_finance' => E::ts('Postfinance'),
'pi_bancontact' => E::ts('Bancontact'),
'pi_generic' => E::ts('Generic Payment Method'),
];
}

Expand Down Expand Up @@ -324,6 +325,7 @@ public static function createDefaultProfile($name = 'default') {
'pi_ideal' => NULL,
'pi_post_finance' => NULL,
'pi_bancontact' => NULL,
'pi_generic' => NULL,
'sepa_creditor_id' => NULL,
'gender_male' => 2,
'gender_female' => 1,
Expand Down

0 comments on commit f7612b3

Please sign in to comment.