如何对接小程序的支付功能

 

小程序的支付有两种方式,一种是通过已开通支付的认证服务号实现支付,这里只需要在服务号后台绑定小程序,然后登陆小程序系统确认即可。

操作流程如下:

登陆已开通支付功能的公众号支付后台(pay.weixin.qq.com),在产品中心页面可以看到appid授权管理标签,在新增授权页面按照要求填写相应信息,然后提交申请即可。

133499546_2_20180520095558191

申请提交之后,需要登陆小程序后台,在图中所示的M-A授权页面点击确认,这样小程序支付的授权就完成了。

133499546_3_20180520095558269

小程序支付的另一种方式就是直接通过小程序申请,操作与公众号的支付对接基本类似,需要现在支付后台的产品中心中进行开发配置,具体可以参考公众号支付对接的相关教程。

在支付对接完毕之后,还需要在小程序页面进行配置,这样小程序才能成功调用微信支付的功能。具体操作如下:

从微擎顶部小程序导航菜单进入小程序的列表,然后选择需要开通支付的小程序。进入后页面如下图。点击支付参数,然后点修改。 133499546_4_20180520095558503

appid和密钥系统会自动获取。这里需要填写的就是商户号和支付密钥。如果通过开通支付的服务号来实现支付的,这里需要填写对应服务号的商户号和支付密钥,这两项一定要与公众号保持一致,否则支付肯定不会成功。

如果是小程序单独申请的支付,这里就按照小程序的商户号填写,然后重新生成支付密钥,这个支付密钥也需要同步配置在微信支付后台(具体配置方法参考微信公众平台的支付对接教程)。

133499546_5_20180520095558613

波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!

波比源码 » 如何对接小程序的支付功能

193 评论

  1. buy lamictal 200mg pills lamictal order purchase tretinoin generic

  2. tadalafil women drugs to treat ed order sildenafil 100mg without prescription

  3. fosamax 70mg without prescription panadol 500 mg pills buy famotidine 40mg generic

  4. zyban 150 mg price strattera order quetiapine order online

  5. buy molnupiravir 200 mg online cheap molnunat for sale buy lansoprazole 15mg online

  6. zyprexa 10mg pills buy diovan 80mg purchase valsartan pills

  7. simvastatin 20mg price valtrex 500mg drug buy finasteride 1mg online cheap

  8. order deltasone 10mg pills mebendazole usa buy vermox 100mg online cheap

  9. order tadalafil generic buy ed pills gb buy tadalafil tablets

  10. order clobetasol sale cordarone price buy amiodarone generic

  11. purchase minocin online cheap neurontin price terazosin oral

  12. buy simvastatin 10mg pills zocor 20mg oral sildalis for sale

  13. where to buy ipratropium without a prescription buy zyvox 600 mg online buy generic linezolid 600mg

  14. order temovate online cheap buspar online order cordarone 100mg over the counter

  15. metoprolol 100mg generic medrol 8 mg oral buy methylprednisolone

  16. prix levitra 10 mg vidal Panels A and B Minute Ventilation MV values before, during a hypercapnic HC gas challenge 5 CO 2, 21 O 2, 74 N 2 and upon return to room air in male M and female F wild type WT and eNOS knock out eNOS mice

  17. purchase dutasteride pill zantac brand buy meloxicam 15mg generic

  18. all the time i used to read smaller posts which also clear their motive, and that is also happening with this post which I am reading at this place.

  19. Wonderful goods from you, man. I’ve understand your stuff previous to and you’re just too fantastic. I really like what you’ve acquired here, really like what you’re stating and the way in which you say it. You make it entertaining and you still take care of to keep it sensible. I can not wait to read far more from you. This is actually a wonderful site.

  20. I have been surfing online more than 2 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the internet will be much more useful than ever before.

  21. Do you have a spam issue on this site; I also am a blogger, and I was curious about your situation; many of us have created some nice procedures and we are looking to swap methods with other folks, be sure to shoot me an e-mail if interested.

  22. pills for ed cialis price buy cialis canada

  23. Hey exceptional blog! Does running a blog like this take a lot of work? I have virtually no knowledge of programming but I was hoping to start my own blog soon. Anyways, if you have any recommendations or tips for new blog owners please share. I know this is off topic but I just needed to ask. Appreciate it!

  24. Greetings! Very helpful advice within this article! It is the little changes which will make the greatest changes. Thanks for sharing!

  25. For latest news you have to go to see world-wide-web and on web I found this site as a best web site for most up-to-date updates.

  26. terazosin 5mg uk hytrin usa purchase tadalafil without prescription

  27. order etoricoxib pill order asacol pill buy astelin 10ml online cheap

  28. Since the admin of this website is working, no hesitation very soon it will be well-known, due to its quality contents.

  29. I’ve read several good stuff here. Definitely worth bookmarking for revisiting. I wonder how so much attempt you put to create this kind of wonderful informative web site.

  30. generic irbesartan 150mg irbesartan oral buy buspirone 5mg for sale

  31. Please let me know if you’re looking for a article writer for your site. You have some really great posts and I think I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Thank you!

  32. Greetings! Very helpful advice within this article! It is the little changes that make the most important changes. Thanks for sharing!

  33. I simply could not leave your site prior to suggesting that I extremely enjoyed the standard information a person supply on your visitors? Is going to be back regularly in order to check out new posts

  34. Asking questions are in fact nice thing if you are not understanding anything completely, except this article provides pleasant understanding even.

  35. Good day! This post couldn’t be written any better! Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this page to him. Pretty sure he will have a good read. Thank you for sharing!

  36. It’s in point of fact a nice and helpful piece of information. I’m satisfied that you shared this helpful info with us. Please stay us informed like this. Thanks for sharing.

  37. anacin 500 mg brand oral paxil buy cheap pepcid

  38. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but other than that, this is wonderful blog. A great read. I’ll definitely be back.

  39. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Cheers!

  40. Helpful info. Fortunate me I found your web site by accident, and I am stunned why this coincidence did not happened in advance! I bookmarked it.

  41. Great article! This is the type of information that are supposed to be shared around the internet. Disgrace on the seek engines for now not positioning this publish upper! Come on over and discuss with my site . Thank you =)

  42. This information is invaluable. How can I find out more?

  43. Heya! I just wanted to ask if you ever have any problems with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no backup. Do you have any solutions to protect against hackers?

  44. Following ovulation or no response to increasing clomiphene- citrate doses, correlations between predictors and treatment responses were analyzed viagra pill near me

  45. A fascinating discussion is worth comment. I do believe that you ought to write more on this subject, it might not be a taboo subject but generally people do not discuss such topics. To the next! All the best!!

  46. My programmer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using Movable-type on a number of websites for about a year and am nervous about switching to another platform. I have heard very good things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any kind of help would be really appreciated!

  47. Hi! I just wanted to ask if you ever have any problems with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no data backup. Do you have any solutions to protect against hackers?

  48. Normally I do not read article on blogs, however I wish to say that this write-up very forced me to try and do so! Your writing taste has been amazed me. Thank you, quite great article.

  49. Great blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your design. Thank you

  50. Thank you a bunch for sharing this with all people you really recognise what you are talking approximately! Bookmarked. Please also talk over with my site =). We could have a link exchange agreement among us

评论已关闭

Hi, 如果你对这款模板有疑问,可以跟我联系哦!

联系站长
赞助VIP 享更多特权,建议使用 QQ 登录
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡