Before doing a mobile web payment, computer website payment and mobile phone web payment process is similar, are the same principle, do not understand the look of a http://blog.csdn.net/goligory/article/details/ 77574203, in the development of documents to apply for Computer website Payment interface can be, that is, instant to account, below I say the need to change the place, of course, demo I have uploaded
and mobile web Payment differences:
Put alipayapi.jsp in the Sparatemp.put ("App_pay", "Y");//enable this parameter to evoke Wallet app payment. Removed, no wake-up required on PC side
Alipayconfig public static string service = ""; Change to public static string service = "Create_direct_pay_by_user"; interface is not the same, This is the instant-to-account interface
The index page I use is the default demo payment interface,
Return_url and Notify_url after the successful payment of the treatment according to their own circumstances to do it can
Demo Address: Computer website demo, Alipay has a secret refund demo
Remember to change the partner, key, Notify_url, Return_url in Alipayconfig to their own
Wish US success