Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen 204 posts 246 karma points
    Sep 12, 2011 @ 11:48
    Stephen
    0

    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

  • Rich Green 2246 posts 4008 karma points
    Sep 12, 2011 @ 12:50
    Rich Green
    1

    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

  • Stephen 204 posts 246 karma points
    Sep 12, 2011 @ 13:01
    Stephen
    0

    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

  • Rich Green 2246 posts 4008 karma points
    Sep 12, 2011 @ 13:05
    Rich Green
    0

    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

     

  • Stephen 204 posts 246 karma points
    Sep 12, 2011 @ 13:12
    Stephen
    0

    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']}"
    />

     

  • Rich Green 2246 posts 4008 karma points
    Sep 12, 2011 @ 13:14
    Rich Green
    0

    That looks like old XSLT, anything with @alias in it is old schema.

    Rich

  • Stephen 204 posts 246 karma points
    Sep 12, 2011 @ 13:30
    Stephen
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft