Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

92 allow donate amount of choosing #215

Closed

Conversation

MooseCowBear
Copy link
Contributor

For issue #92.

I'm a little unsure about how I set this up. I'm happy for feedback and to make changes.

I ended up using the stripe gem to create a checkout session link with the amount entered in the input field, and added a message in case someone entered a non-dollar amount. Right now it accepts integers but not floats. I can change that if you want.

When a fixed option is selected:
Screenshot 2024-02-01 at 1 22 50 PM

When the other amount is selected:
Screenshot 2024-02-01 at 1 22 58 PM

When the input is not an integer:
Screenshot 2024-01-31 at 2 03 11 PM

When the input is an integer:
Screenshot 2024-01-31 at 2 03 25 PM

@luciagirasoles
Copy link
Collaborator

We are removing the sponsor us page. Thank you for your help. (Because this is a public channel. I want to mention I've already contacted Alisa for extra details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants