Checkout is off until you paste two real Payment Links into js/config.js. This project was not given a Stripe account, so no live payment can start today.
- Create a Stripe account and finish the verification Stripe requires before real charges are allowed.
- Create a one-time Payment Link. Paste the
https://buy.stripe.com/... URL into oneTimePaymentLink.
- Create a separate product with a monthly recurring price, then a Payment Link for that price. Paste that different URL into
monthlyPaymentLink.
- If donors should type the amount, turn that on in Stripe and set the matching mode to
customer-chooses. If the price is fixed, use fixed-price. Leave unspecified if you do not want this page to describe the price.
- Use a test-mode link (the path contains
test_) until you mean to take real money. The page will say test mode does not collect a live payment.
No secret keys belong in this file. Card numbers are entered on Stripe, never here. Full steps, including the customer portal for canceling a monthly gift, are in README.md.