I have a perfectly working <form> with <input type="hidden" ... as parameters to send POST request to PayPal to make payments possible. It works fine. But what should I change to redirect users on PayPal mobile site?
I’ve searched their APIs and for mobile website, and what I understand is that they recommend to use completely different method, some NVP. But how this could be that I cannot simply change my form?
Paypal mention here to add parameter: cmd=_express-checkout-mobile, but when I add hidden input field with _express-checkout-mobile I get (mobile) message that transaction is invalid and please return to previous website.
Regards
cmd=_express-checkout-mobileis for Mobile Express Checkout, which is the “some NVP method” you referred to.Website Payments Standard (the product you’re using) should – as of a few weeks ago – already give you a mobile checkout page; at least it does in my test: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=your-paypal-email&amount=1&item_name=Test