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
Hey :)
Im doing our shop through razor. But cant find how to get the payment url, in XSLT i can see its done like this :
teacommerce:GetPaymentForm($button)
But how do i get the paymentform/paymenturl through razor ?
Hi Rasmus,
Short answer, you can't. Youre the one from the xslt library, it will do the job just as well.
/Rune
Dammit :)
now I have to make the solution non pure by using XSLT :)
Thx for quick answer as allways !
Hi Rasmus
NO you don't need to use XSLT - it's just a method in the XSLT namespace :)
TeaCommerce.Library.GetPaymentForm(string input) //the input is the html for the button
Kind regardsAnders
awesome !
Is there a way so I only get the URL and hidden inputs so i can wrap it in my own "form" with a class and such on ?
needed for analytics and some validation.
Or is there a way to change the "form" markup that comes out from the getpaymentform function, since there is a lot of hidden inputs aswell ?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Cant find this through razor GetPaymentForm
Hey :)
Im doing our shop through razor. But cant find how to get the payment url, in XSLT i can see its done like this :
teacommerce:GetPaymentForm($button)
But how do i get the paymentform/paymenturl through razor ?
Hi Rasmus,
Short answer, you can't. Youre the one from the xslt library, it will do the job just as well.
/Rune
Dammit :)
now I have to make the solution non pure by using XSLT :)
Thx for quick answer as allways !
Hi Rasmus
NO you don't need to use XSLT - it's just a method in the XSLT namespace :)
TeaCommerce.Library.GetPaymentForm(string input) //the input is the html for the button
Kind regards
Anders
awesome !
Is there a way so I only get the URL and hidden inputs so i can wrap it in my own "form" with a class and such on ?
needed for analytics and some validation.
Or is there a way to change the "form" markup that comes out from the getpaymentform function, since there is a lot of hidden inputs aswell ?
is working on a reply...