Good day all,
Is there a way to put a different message per payment method on the thank you cart page before being sent to the payment gateway ?
I have 3 different message to put,
regards
Stefan
I think no,
thank you page is after redirect from payment gateway back to shop or do you have another solution?
Or do u mean a page that has a "click here to go to ###payment gateway### ?
I.e. not an automatic redirect .. in that case this page is created by the payment plugin itself..
I mean the page before being transfer to payment gateway,
Quote from: encreplus on August 29, 2020, 13:40:33 PM
I mean the page before being transfer to payment gateway,
Quote from: GJC Web Design on August 28, 2020, 17:46:22 PM
Or do u mean a page that has a "click here to go to ###payment gateway### ?
I.e. not an automatic redirect .. in that case this page is created by the payment plugin itself..
Yes i mean that page
QuoteIs there a way to put a different message per payment method on the thank you cart page before being sent to the payment gateway ?
Yes.
As he said GJC: this page is created by the payment plugin itself
Then you must edit all payment plugins and paste your code into them.
Remember that you must do this manually again when upgrading VirtueMart.
If you use the 3d party payment plugin, there too.
What code and in which file I can't advise you.
You can use VP Conversion Tracking plugin - https://www.virtueplanet.com/extensions/vp-conversion-tracking It allows you to set a common Thank You page for all payment plugin/methods. It also has many other features. Show Related Products of the ordered products in thank you page. Show Suggested Products i.e. "Customers who bought these products also bought these". Refer to the product details to learn more.
Disclaimer: We are the developer of this plugin
QuoteYou can use VP Conversion Tracking plugin
I see no advantage
- purchase a plugin
- install
- setup
- but unfortunately to develop the possibility of displaying 3 types of messages in the plugin, just as I would not buy the plugin?
So where is the advantage?
I think Jumbo means the thank you page is common to all payment methods. But I hope that they can contain different messages depending on payment. This can only be answered bu Jumbo. The idea of one common thank you page is appealing. Today this is different depending on payment processor.
Jörgen @ Kreativ Fotografi
Ok will try to find the file to modify thanks
Good day
I have modify but now how can i add 1-2 seconds before being transfer to payment gateway ???
depends entirely on your payment plugin and how they redirect
std Paypal uses Jquery so u would add a Jq delay
jQuery("#vmPaymentForm").delay(2000).submit();
untested
Quote from: GJC Web Design on December 26, 2020, 16:44:01 PM
depends entirely on your payment plugin and how they redirect
std Paypal uses Jquery so u would add a Jq delay
jQuery("#vmPaymentForm").delay(2000).submit();
Big thanks , it helps a lot ;)
untested
I went with this instead ,
setTimeout(function () {
jQuery("#vmPaymentForm").submit();
}, 5000);