IOS WeChat V3.0 payment summary and iosv3.0 payment Summary

Source: Internet
Author: User

IOS V3.0 payment summary and iosv3.0 payment Summary

There are too few payment summaries for iOS V3 on the Internet, so it's hard to find a reference to Android V3. I will summarize my research and usage over the past few days.

The demos written by online users in open-source mode are basically all of the following parameters in the "thousands of gold bars" version.


# Define WXAppKey @ "Taobao"


If you can apply for a new payment, the following key is not provided. You do not need to upload tokens. When passing parameters in the new version, you need to splice the parameters in the dictionary into various XML strings and then post the strings. The signature methods are also different. This is very different from the previous payment details. The most annoying thing is that there is no demo.


Click here to open the link.Merchant developer PlatformThe demo is the new version. Click "Contact Us" to download it to the demo. The libWeChatSDK. a library file in this demo is not 64-bit. Appstore currently requires all sdks to support 64-bit. A txt file is attached to the downloaded file. Please read it.


Click to open the link. Many developers download the demo from here. Here, the demo is of the old version, not V3, and can only be used if the enterprise has the red key above. Here we only need to download 64sdk to overwrite the libWeChatSDK. a library file to the demo downloaded from the merchant's developer platform.


The payment is half done after completing the above steps.


The code I used in it is basically something in the method below. It depends on your individual needs.

-(Void) sendPay_demo



If you have any questions, please leave a message.



Related Article

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.