Changing the name of the "Return to shop" button
You can customize the text of the button "Return to the shop".
- Use field vads_theme_config to change the name of the "Return to shop" button.
- Use the keyword SUCCESS_FOOTER_MSG_RETURN to change the name of the "Return to shop" button that appears if the payment has been accepted.
- Use the keyword CANCEL_FOOTER_MSG_RETURN to change the name of the "Cancel and return to shop" button that appears on payment pages.
By subscribing to the advanced customization option, you will be able to change the names (e.g.: shop ID) of the buttons on the payment page.
See: Back Office user manual Advanced customization for more details or contact sales administration.
Example of payment form with modification of the name of the "Return to shop" button:
<form method="POST" action="https://secure.lyra.com/vads-payment/"> <input type="hidden" name="vads_action_mode" value="INTERACTIVE" /> <input type="hidden" name="vads_amount" value="4000" /> <input type="hidden" name="vads_capture_delay" value="0" /> <input type="hidden" name="vads_ctx_mode" value="PRODUCTION" /> <input type="hidden" name="vads_currency" value="978" /> <input type="hidden" name="vads_order_id" value="CD100000858" /> <input type="hidden" name="vads_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_config" value="SINGLE" /> <input type="hidden" name="vads_site_id" value="12345678" /> <input type="hidden" name="vads_theme_config" value="CANCEL_FOOTER_MSG_RETURN=Cancel;SUCCESS_FOOTER_MSG_RETURN=Return" /> <input type="hidden" name="vads_trans_date" value="20190631092024" /> <input type="hidden" name="vads_trans_id" value="408248" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="ge5DHBbUGsq4cFfSIR1QyB/L/9qPNp2vhX9/G3kKJeQ="/> <input type="submit" name="pay" value="Pay"/> </form>