Payment.php 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * FecShop file.
  4. * @link http://www.fecshop.com/
  5. * @copyright Copyright (c) 2016 FecShop Software LLC
  6. * @license http://www.fecshop.com/license/
  7. */
  8. return [
  9. 'payment' => [
  10. 'childService' => [
  11. 'alipay' => [
  12. 'devide' => 'pc' , // 填写pc或者wap,pc代表pc机浏览器支付类型,wap代表手机浏览器支付类型
  13. ],
  14. ],
  15. 'paymentConfig' => [ // 支付方式配置
  16. 'standard' => [ // 标准支付类型:在购物车页面进入下单页面,填写支付信息,然后跳转到第三方支付网站的支付类型。
  17. 'wxpay_standard' => [
  18. 'label'=> '微信支付',
  19. // 跳转开始URL
  20. 'start_url' => '@homeUrl/payment/wxpay/standard/start',
  21. // 支付完成后,跳转的地址。
  22. 'return_url' => '@homeUrl/payment/wxpay/standard/review',
  23. // 微信发送消息,接收的地址。
  24. 'ipn_url' => '@homeUrl/payment/wxpay/standard/ipn',
  25. 'success_redirect_url' => '@homeUrl/payment/success',
  26. ],
  27. ],
  28. ],
  29. ],
  30. ];