Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm following this WIKI, which is exactly what i need...
http://our.umbraco.org/wiki/how-tos/quick-paypal-minicart-store-with-umbraco
but is the XML now out of date? cant seem to get my values for the paypal forms...
S
Hey Stephen,
You could try the automatic XSLT converter provided by Tommy here http://blackpoint.dk/umbraco-workbench/tools/convert-xml-schema-to-45-.aspx
Rich
Thanks Rich, code is coming back as the same but i'm not getting any values, weird. This should be a lot easier than it is...
Hi,
The code shouldn't be the same at all so somethings wrong? For the schema changes see http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/no-more-@nodetypealias
You'll also need to change umbraco.library:GetXmlNodeById(1053) to reflect your node id.
Hi Rich,
Yeah i removed that line so i put in the Paypal email manually in the code..
<input type="hidden" name="business" value="XXXXX@XXXXXcom"/>
which is working..
Looking at one of the lines of code it reads.. and I'm not sure what "data" refers to...never had to do this in any other XSLT?
<inputtype="hidden"name="amount"value="{data [@alias = 'productPrice']}"/>
That looks like old XSLT, anything with @alias in it is old schema.
Managed to work it out with a bit of trial and error...xslt converter wasn't converting...
Becomes simply..
<inputtype="hidden"name="amount"value="{productPrice}"/>
Hope this helps somone out!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Paypal Minicart
I'm following this WIKI, which is exactly what i need...
http://our.umbraco.org/wiki/how-tos/quick-paypal-minicart-store-with-umbraco
but is the XML now out of date? cant seem to get my values for the paypal forms...
S
Hey Stephen,
You could try the automatic XSLT converter provided by Tommy here http://blackpoint.dk/umbraco-workbench/tools/convert-xml-schema-to-45-.aspx
Rich
Thanks Rich, code is coming back as the same but i'm not getting any values, weird. This should be a lot easier than it is...
S
Hi,
The code shouldn't be the same at all so somethings wrong? For the schema changes see http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/no-more-@nodetypealias
You'll also need to change umbraco.library:GetXmlNodeById(1053) to reflect your node id.
Rich
Hi Rich,
Yeah i removed that line so i put in the Paypal email manually in the code..
<input type="hidden" name="business" value="XXXXX@XXXXXcom"/>
which is working..
Looking at one of the lines of code it reads.. and I'm not sure what "data" refers to...never had to do this in any other XSLT?
That looks like old XSLT, anything with @alias in it is old schema.
Rich
Managed to work it out with a bit of trial and error...xslt converter wasn't converting...
<inputtype="hidden"name="amount"value="{data [@alias = 'productPrice']}"/>
Becomes simply..
<inputtype="hidden"name="amount"value="{productPrice}"/>
Hope this helps somone out!
S
is working on a reply...