payment.info.php 1.2 KB

123456789101112131415161718192021222324
  1. <?php
  2. return array(
  3. 'payment_code' => 'wxpay_native',
  4. 'payment_name' => '微信扫码支付',
  5. 'payment_desc' => '微信扫码支付',
  6. 'payment_is_online' => '1',
  7. 'payment_platform' => 'pc', #支付平台 pc h5 app
  8. 'payment_author' => '长沙德尚',
  9. 'payment_website' => 'https://pay.weixin.qq.com',
  10. 'payment_version' => '1.0',
  11. 'payment_config' => array(
  12. array('name' => 'wx_appid', 'type' => 'text', 'value' => '', 'desc' => '描述'),
  13. array('name' => 'wx_appsecret', 'type' => 'password', 'value' => '', 'desc' => '描述'),
  14. array('name' => 'wx_mch_id', 'type' => 'text', 'value' => '', 'desc' => '描述'),
  15. array('name' => 'wx_key', 'type' => 'password', 'value' => '', 'desc' => '描述'),
  16. array('name' => 'wx_trade_refund_state', 'type' => 'radio', 'value' => '0', 'desc' => '描述'),
  17. array('name' => 'wx_trade_transfer_state', 'type' => 'radio', 'value' => '0', 'desc' => '描述'),
  18. array('name' => 'wx_sslcert_path', 'type' => 'text', 'value' => '', 'desc' => '描述'),
  19. array('name' => 'wx_sslkey_path', 'type' => 'text', 'value' => '', 'desc' => '描述'),
  20. ),
  21. );
  22. ?>