Provides various official and user-released code examples. For code reference, you are welcome to exchange and learn and directly place them in the official payment V3 package of vender, just with simple path correction, keep the official source files downloaded directly
Call example
// + ---------------------------------------------------------------------- // | Author: left side (add group: 366504956 (just created, welcome) for thinkphp Development) // + ----------------------------------------------------------------------
Public function Index (){ // Basic merchant information, which can be written to WxPay. Config. php. For more information, see WxPayConfig. php. Define ('appid ', 'wx9dc408cb04cd6d2d '); Define ('mchid', '123 '); Define ('key', 'e10adc3949ba59abbe56e757f20f883e '); Define ('appsecret', '8c97c84a34f4be1d46bd35b7e51df86a ');
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.