-
How can I add a flash message after returning from the checkout session? In the example below, I want to create a success message when the user creates a new subscription:
|
Beta Was this translation helpful? Give feedback.
Answered by
excid3
Dec 15, 2023
Replies: 1 comment 1 reply
-
Use your success URL. Add a param or send them to a success page. success_url: root_url(flash: true),
# or
success_url: success_url |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yuripinto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use your success URL.
Add a param or send them to a success page.