Skip to content

Commit

Permalink
feat: added Amazon Pay and Cash App as payment methods (debuggin Giro…
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Apr 25, 2024
1 parent e3a327c commit e6bfbe8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/models/payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ const Payments = new mongoose.Schema({
'sepa_debit',
'sofort',
'us_bank_account',
'wechat_pay'
'wechat_pay',
'cashapp',
'amazon_pay'
]
},
// this is the duration of time added
Expand Down
4 changes: 4 additions & 0 deletions app/views/_footer.pug
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ footer.mt-auto
li.list-inline-item
i.fab.fa-google-pay
= " Google Pay"
li.list-inline-item
i.fab.fa-amazon-pay
= " Amazon Pay"
li.list-inline-item Cash App
li.list-inline-item Link
li.list-inline-item Bancontact
li.list-inline-item EPS
Expand Down
2 changes: 1 addition & 1 deletion app/views/my-account/domains/billing.pug
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ block body
data-confirm-type="info",
data-confirm-show-cancel-button="false",
data-confirm-prompt-title=t("Payment Methods"),
data-confirm-prompt-html=t("We accept Visa, Mastercard, American Express, Discover, Diners Club, JCB, China UnionPay, Alipay, Apple Pay, Google Pay, Link, Bancontact, EPS, giropay, iDEAL, Przelewy24, Sofort, Affirm, Afterpay / Clearpay, Klarna, SEPA Direct Debit, Canadian pre-authorized debits, and ACH Direct Debit.")
data-confirm-prompt-html=t("We accept Visa, Mastercard, American Express, Discover, Diners Club, JCB, China UnionPay, Alipay, Apple Pay, Google Pay, Amazon Pay, Cash App, Link, Bancontact, EPS, giropay, iDEAL, Przelewy24, Sofort, Affirm, Afterpay / Clearpay, Klarna, SEPA Direct Debit, Canadian pre-authorized debits, and ACH Direct Debit.")
)
i.fa.fa-info-circle
.form-check.form-check-inline.mr-0.no-js
Expand Down

0 comments on commit e6bfbe8

Please sign in to comment.