codingpet
Forum Replies Created
-
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
In reply to: [Alipay For WooCommerce] alipay form not shownHi,
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
CathyForum: Plugins
In reply to: [Alipay For WooCommerce] 如何设置用户不需确认收货即可自动通过帐单?你好,
发货是买家需要到支付宝里进行的操作,用户是否确认收货应该对此没有影响,希望能把问题描述的更具体一些。
确认收货是支付宝的规定,如果不想有这个过程只能使用即时到账。
自动出货,如果是指下单后自动将订单状态改为“卖家已发货”,这个功能目前只针对不需要配送的虚拟商品。
Forum: Plugins
In reply to: [Alipay For WooCommerce] 支持退款吗?抱歉,不支持
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
In reply to: [Alipay For WooCommerce] 请教从数据库提取汇率如果你读了源代码,里面有这样一句
$this->exchange_rate = $this->get_option( ‘exchange_rate’ );Forum: Plugins
In reply to: [Alipay For WooCommerce] 请教从数据库提取汇率这个功能和alipay插件好像没有直接关系,你可以参考现有插件,比如WooCommerce Currency Switcher。如果你只是想把美元和人民币价格同时显示出来,简单的修改模板就能实现。
另外不需要自己写query,把汇率存储到wp_options表里,之后用get_option()获取就行了。Forum: Plugins
In reply to: [Alipay For WooCommerce] Receiving notifications from Alipay more than once.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,
KevinForum: Plugins
In reply to: [Alipay For WooCommerce] Receiving notifications from Alipay more than once.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,
KevinHi,
Thank you for the reminder. Will fix it in the next release.
Regards,
KevinHi,
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,
KevinForum: Plugins
In reply to: [Alipay For WooCommerce] HAS_NO_PRIVILEGEHi,
There is a page that explains he error, please check it at 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
In reply to: [Alipay For WooCommerce] How to get Partner ID and security key?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
In reply to: [Alipay For WooCommerce] How to get Partner ID and security key?Hello,
Can you read Chinese? If yes please go to 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
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
In reply to: [Alipay For WooCommerce] ERROR:TRADE_TOTALFEE_NOT_MATCH不客气的