Title: codingpet's Replies | WordPress.org

---

# codingpet

  [  ](https://wordpress.org/support/users/codingpet/)

 *   [Profile](https://wordpress.org/support/users/codingpet/)
 *   [Topics Started](https://wordpress.org/support/users/codingpet/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codingpet/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codingpet/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codingpet/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codingpet/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codingpet/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 181 total)

1 [2](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codingpet/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/codingpet/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance] Failed with error code invalid_response](https://wordpress.org/support/topic/failed-with-error-code-invalid_response/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/failed-with-error-code-invalid_response/#post-11973929)
 * Hi Mariette,
 * I had the same issue and figured it out. In case you need it, below is the reason.
 * ‘allow_url_fopen’ is the issue. It must be enabled for wp-admin directory. On
   some servers( e.g. some cPanel why you can change PHP settings by putting a php.
   ini in the home directory ), it will only work for home directory. You need to
   put the same php.ini in the /wp-admin directory.
 * Writing a phpinfo(); in a test file and put it in /wp-admin directory to make
   sure ‘allow_url_fopen’ is enabled.
 * Kevin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] alipay form not shown](https://wordpress.org/support/topic/alipay-form-not-shown/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/alipay-form-not-shown/#post-6920103)
 * Hi,
 * Please fix the warning message generated by woocommerce pdf invoices plugin and
   see if the alipay plugin works. The invoice plugin needs the write permission.
 * Best Regards
    Cathy
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] 如何设置用户不需确认收货即可自动通过帐单？](https://wordpress.org/support/topic/%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e7%94%a8%e6%88%b7%e4%b8%8d%e9%9c%80%e7%a1%ae%e8%ae%a4%e6%94%b6%e8%b4%a7%e5%8d%b3%e5%8f%af%e8%87%aa%e5%8a%a8%e9%80%9a%e8%bf%87%e5%b8%90%e5%8d%95%ef%bc%9f/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e7%94%a8%e6%88%b7%e4%b8%8d%e9%9c%80%e7%a1%ae%e8%ae%a4%e6%94%b6%e8%b4%a7%e5%8d%b3%e5%8f%af%e8%87%aa%e5%8a%a8%e9%80%9a%e8%bf%87%e5%b8%90%e5%8d%95%ef%bc%9f/#post-6711581)
 * 你好，
 * 发货是买家需要到支付宝里进行的操作，用户是否确认收货应该对此没有影响，希望能把
   问题描述的更具体一些。
 * 确认收货是支付宝的规定，如果不想有这个过程只能使用即时到账。
 * 自动出货，如果是指下单后自动将订单状态改为“卖家已发货”，这个功能目前只针对不需要
   配送的虚拟商品。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] 支持退款吗？](https://wordpress.org/support/topic/%e6%94%af%e6%8c%81%e9%80%80%e6%ac%be%e5%90%97%ef%bc%9f/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/%e6%94%af%e6%8c%81%e9%80%80%e6%ac%be%e5%90%97%ef%bc%9f/#post-6684470)
 * 抱歉，不支持
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] Recurring payments with woocommerce subscriptions pluggin?](https://wordpress.org/support/topic/recurring-payments-with-woocommerce-subscriptions-pluggin/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/recurring-payments-with-woocommerce-subscriptions-pluggin/#post-6665208)
 * Hi,
 * I don’t think this alipay plugin support it. Perhaps what you are looking for
   is the alipay cross border payment plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] 请教从数据库提取汇率](https://wordpress.org/support/topic/%e8%af%b7%e6%95%99%e4%bb%8e%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8f%90%e5%8f%96%e6%b1%87%e7%8e%87/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/%e8%af%b7%e6%95%99%e4%bb%8e%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8f%90%e5%8f%96%e6%b1%87%e7%8e%87/#post-6621815)
 * 如果你读了源代码，里面有这样一句
    $this->exchange_rate = $this->get_option( ‘
   exchange_rate’ );
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] 请教从数据库提取汇率](https://wordpress.org/support/topic/%e8%af%b7%e6%95%99%e4%bb%8e%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8f%90%e5%8f%96%e6%b1%87%e7%8e%87/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/%e8%af%b7%e6%95%99%e4%bb%8e%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8f%90%e5%8f%96%e6%b1%87%e7%8e%87/#post-6621681)
 * 这个功能和alipay插件好像没有直接关系，你可以参考现有插件，比如WooCommerce Currency
   Switcher。如果你只是想把美元和人民币价格同时显示出来，简单的修改模板就能实现。
   
   另外不需要自己写query，把汇率存储到wp_options表里，之后用get_option()获取就行
   了。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] Receiving notifications from Alipay more than once.](https://wordpress.org/support/topic/receiving-notifications-from-alipay-more-than-once/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/receiving-notifications-from-alipay-more-than-once/#post-6477364)
 * Hi Kwun,
 * Your plugin can’t send response to Alipay because it is not listening to alipay’s
   notification at all. This will require changes to your plugin and I don’t think
   the author would do that. And I can’t change mine either because your plugin 
   is a premium one.
 * If you can read php code, I advice you to check the class-wc-alipay.php and find
   the code below, you should find two.
    $order_needs_updating = ( in_array( $order-
   >status, array(‘processing’, ‘completed’) ) ) ? false : true;
 * It is saying if the order status is already processing or completed, do nothing.
   You can add your custom status to the array and try if it stops my plugin from
   updating your order. BUT YOU WILL NEED TO COMPLETE ORDERS MANUALLY.
 * For example if the status is named “wc-partially-paid”, then the code becomes
   
   $order_needs_updating = ( in_array( $order->status, array(‘processing’, ‘completed’,‘
   wc-partially-paid’) ) ) ? false : true;
 * Regards,
    Kevin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] Receiving notifications from Alipay more than once.](https://wordpress.org/support/topic/receiving-notifications-from-alipay-more-than-once/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/receiving-notifications-from-alipay-more-than-once/#post-6477341)
 * Hi Kwun,
 * I don’t recall there is a status called “Partially Paid” or “已付定金”, I don’t
   remember writing any words like it in the plugin. is this a custom status that
   you added?
 * Are you using the “担保交易” service? If yes As long as the order is not COMPLETED,
   it will be show as PROCESSING. This is what WooCommerce expected.
    If you don’t
   want the order processing email being sent, a simple way is to disable the “Processing
   Order” notification under WooCommerce > Settings > Emails tab. Hope this helps.
 * Regards,
    Kevin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] Undefined variable: $log in line 424 of class-wc-alipay.php](https://wordpress.org/support/topic/undefined-variable-log-in-line-424-of-class-wc-alipayphp/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-log-in-line-424-of-class-wc-alipayphp/#post-6472783)
 * Hi,
 * Thank you for the reminder. Will fix it in the next release.
 * Regards,
    Kevin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] Alipay not sending back notification after successful payment](https://wordpress.org/support/topic/alipay-not-sending-back-notification-after-successful-payment/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/alipay-not-sending-back-notification-after-successful-payment/#post-6411470)
 * Hi,
 * Sorry for the trouble, I did write on the description page that the curl is required
   but maybe it’s better if the plugin checks it automatically. Anyway, I’m glad
   your problem is solved.
 * Regards,
    Kevin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] HAS_NO_PRIVILEGE](https://wordpress.org/support/topic/has_no_privilege/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/has_no_privilege/#post-6413450)
 * Hi,
 * There is a page that explains he error, please check it at [https://cshall.alipay.com/support/help_detail.htm?help_id=397105](https://cshall.alipay.com/support/help_detail.htm?help_id=397105)
 * In short it means the service you signed with alipay is taking effect.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Alipay For WooCommerce] How to get Partner ID and security key?](https://wordpress.org/support/topic/how-to-get-partner-id-and-security-key/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-get-partner-id-and-security-key/#post-7987451)
 * Hi,
 * To be frank, I totally agree with you. They even don’t provide a sandbox for 
   the developers and the customers, you have to actually pay to test your payment
   gateway.
 * But on the bright side, you just need a simple Chinese website with some demo
   products that tells what you are selling. You can refine your websites later 
   after the service is approved.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Alipay For WooCommerce] How to get Partner ID and security key?](https://wordpress.org/support/topic/how-to-get-partner-id-and-security-key/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-get-partner-id-and-security-key/#post-7987449)
 * Hello,
 * Can you read Chinese? If yes please go to [https://b.alipay.com/newIndex.htm](https://b.alipay.com/newIndex.htm)
   for more information.
 * This is a brief overview of their services. You can check the requirement of 
   each service listed on that page, eg. [https://b.alipay.com/order/productDetail.htm?productId=2012111200373121](https://b.alipay.com/order/productDetail.htm?productId=2012111200373121)
 * Then please click the button which reads “在线申请” to apply for this service,
   just follow the steps and provide whatever alipay asks for.
 * Some services require you to have a company please be aware of this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Alipay For WooCommerce] ERROR:TRADE_TOTALFEE_NOT_MATCH](https://wordpress.org/support/topic/errortrade_totalfee_not_match/)
 *  Plugin Author [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/errortrade_totalfee_not_match/#post-6248257)
 * 不客气的

Viewing 15 replies - 1 through 15 (of 181 total)

1 [2](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codingpet/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/codingpet/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)