There still doesn't seem to be a firm answer to this topic (http://forum.virtuemart.net/index.php?topic=106993.msg383446#msg383446) as I am still trying to figure out how to do the same thing. What I need done is for the Conversion code to activate AFTER a purchase has been made. Meaning, after the user has already paid for their product in the payment gateway (PayPal Legacy in this case) and then come back to the Order Done page where the Conversion code would be located.
Trying a series of methods has leaded to a bunch of errors.
Does anyone have any solid leads on how this can be implemented?
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXX;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "XXXXXX";
var google_conversion_value = 0;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/XXXXXX/?value=0&label=XXXXXX&guid=ON&script=0"/>
</div>
</noscript>
On top of that, I would like to add my own 'Thank You' message rather than the bland message posted.
Any ideas?
The latest version of the PayPal Express Checkout Plugin 1.0.20,
has an option for editing the HTML code of the header and footer of the final receipt page including adding Javascript.
Also if you set the option
"Do buyers review and confirm their purchases on PayPal or on your website?" to PayPal
The checkout process can be made similar to standard.
http://forum.virtuemart.net/index.php?topic=104184.0
I cannot use your plugin because the customer does not have a Pro account. Just the Basic.
Is there no way to modify the default PayPal plugin?
This is the PayPal Express Checkout Plugin.
All basic PayPal accounts will work with it.
All you require are the API details from your customers account
and that will connect the plugin to PayPal.
I have not been able to successfully test this plugin as for some reason the Sandbox acct. isn't working. But I'm hoping that your plugin will assist in what we're trying to accomplish.
Thank you.
Did you check related to your question threads on forum? Keep looking on them after you will find them. Forum members could provide their web sites for solving this task by forum stuff.