Skip to content

Commit

Permalink
Merge pull request #150 from wmde/enable-credit-card
Browse files Browse the repository at this point in the history
Re-enable credit card option in Desktop+Mobile
  • Loading branch information
moiikana authored Jul 14, 2023
2 parents fc13a6b + d11cc44 commit cd2b2f6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions banners/desktop/form_items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function createFormItems( translations: Translator, amountFormatter: Numb
.setPaymentMethods(
PaymentMethods.PAYPAL,
PaymentMethods.BANK_TRANSFER,
PaymentMethods.CREDIT_CARD,
PaymentMethods.DIRECT_DEBIT
).getItems();
}
1 change: 1 addition & 0 deletions banners/desktop/form_items_var.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export function createFormItems( translations: Translator, amountFormatter: Numb
.setPaymentMethods(
PaymentMethods.PAYPAL,
PaymentMethods.BANK_TRANSFER,
PaymentMethods.CREDIT_CARD,
PaymentMethods.DIRECT_DEBIT
)
.setAddressTypes(
Expand Down
1 change: 1 addition & 0 deletions banners/mobile/form_items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function createFormItems( translations: Translator, amountFormatter: Numb
PaymentMethods.PAYPAL,
PaymentMethods.DIRECT_DEBIT,
PaymentMethods.BANK_TRANSFER,
PaymentMethods.CREDIT_CARD,
PaymentMethods.SOFORT
).getItems();
}
3 changes: 2 additions & 1 deletion banners/mobile/form_items_var.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export function createFormItems( translations: Translator, amountFormatter: Numb
.setAmounts( 5, 15, 25, 50, 100 )
.setPaymentMethods(
PaymentMethods.PAYPAL,
PaymentMethods.DIRECT_DEBIT
PaymentMethods.DIRECT_DEBIT,
PaymentMethods.CREDIT_CARD
)
.setAddressTypes(
AddressTypes.FULL,
Expand Down
6 changes: 0 additions & 6 deletions banners/mobile/styles/styles_var.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,3 @@
.wmde-banner-sms-box {
display: none;
}

.payment-ppl,
.payment-bez {
flex: 0 0 50%;
width: 50%;
}

0 comments on commit cd2b2f6

Please sign in to comment.