Feature #3185
openHebrews Checkout Payments Flow
0%
Description
To summarize steps to do:
1) Page with Stripe payments tool, to check out for event, by paying publisher for stream.
2) BUT, in webhook, only save token, and join user to event as participantRole “requested”. Send email template to user saying “Thank you for requesting to join the event. You hear from us when you are approved. In the meantime, you can earn $5 off your ticket for each young woman you invite, and $3 for every young man. Click here to invite people.”
3) After checkout is complete we redirect user to event page same as link above. And show Q.hint() to invite people
4) Make event dialog visible only to admins of event (same as Scan QR Codes). When clicked it shows dialog with Calendars/event/participants tool - shows all participants grouped by participantRole. Maybe you can just use Streams/participants tools but make the avatars take 100% width with float:right buttons.
5) For users who have participantRole “requested”, this dialog show the number of credits they have, and button to charge them. This button does POST to Assets/pay action, which deducts credits and does forcePayment for the rest. Upon success, the webhook or action then sends out another email template confirming the payment. Upon failure, send different email, asking user to show up and pay in person with cash.