Alipay Computer website Payment, that is, the old version of the instant to account

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.