Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Payment Buttons: Add option to redirect users to a "Thank You" page #76439

Open Gustavo-Hilario opened 1 year ago

Gustavo-Hilario commented 1 year ago

What

Add the ability for users to redirect paying customers to a "Thank You" page after successfully completing a transaction using Payment Blocks.

Why

This feature would improve the user experience for both website owners and their customers. It would allow website owners to provide a seamless experience to their customers, and it would allow customers to receive confirmation and acknowledgment for their purchase.

Currently, the Payment Button does not offer a built-in feature to redirect users to a "Thank you" page upon successful payment.

How

To implement this feature, we could add an option in the Payment Block settings for users to specify a "Thank You" page URL. When a successful payment is made, the system would automatically redirect the user to the specified "Thank You" page.

Additionally, it might be beneficial to include a customizable message that website owners can modify to provide a personalized confirmation message on the "Thank You" page.

cuemarie commented 1 year ago

πŸ“Œ ACTIONS

πŸ“Œ Message to Author