Skip to content

Commit 3867036

Browse files
committed
Say "Donate" on button for one-time donos
1 parent 97f5045 commit 3867036

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worker/src/Endpoint/Donate.hs

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ setupOnetimeDonation manager cents =
163163
, "line_items[][amount]" ==> BSC.pack (show cents)
164164
, "line_items[][currency]" ==> "usd"
165165
, "line_items[][quantity]" ==> "1"
166+
, "submit_type" ==> "donate"
166167
, "success_url" ==> "https://foundation.elm-lang.org/thank_you?session_id={CHECKOUT_SESSION_ID}"
167168
, "cancel_url" ==> "https://foundation.elm-lang.org/donate"
168169
]

0 commit comments

Comments
 (0)