Hi @johnplant,
You can pick the return page from the “Redirect Page” (or “Terugkeer-pagina” in Dutch) dropdown in the Mollie Settings Page.
Events -> Payment Gateways -> Mollie -> Settings.
Please note that the “em_mollie_return” part is required and automatically added to the chosen permalink.
When your vistor has been redirected to the Mollie Payment page, the Events Manager Booking object to no longer global. The plugin “listens” for “em_mollie_return” to fetch the corresponding EM Booking from your database (in your example EM Booking ID 22) to display the correct payment status, because Mollie allows your visitor to cancel the payment.
The line “The status of your payment is:” can be changed in the same settings page. The second line (“Booking successful. You will receive a confirmation email shortly”) is the booking feedback message in your Events Manager Settings.
Events -> Settings -> Bookings -> Customize Feedback Messages -> Booking form feedback messages.
To change the output after the correct booking and its payment status have been fetched, you can use the em_mollie_payment_feedback filter.
function my_mollie_return( $result ) {
// Do stuff.
return $result;
}
add_filter( 'em_mollie_payment_feedback', 'my_mollie_return', 10, 1 );