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.