baijianpeng VIP
Total posts: 239
02 Дек 2015 02:40

Today is the first time I test the Alipay payment plugin.

When click on the Alipay button to pay, there shows up a warning message:

There is no AliPay Parent ID set in payment gateway parameters

Of course I have correctly input the PID and Secret Key in the payment gateway settings. Those PID and Key are just copied from my Alipay account 5 minutes ago, and checked twice before save.

So I think this payment gateway plugin has a bug.

Hope you will fix it soon.

If you want to test yourself, please visit www.joomlagate.com and click on the last menu item of the top navigation menu, it is the plan list. Then you can just pick up the first plan and click the "buy now" button. Then you will see the Alipay button.

Последние изменения: 24 Янв 2016


Sergey
Total posts: 13,748
07 Дек 2015 12:00

Fixed. I have uploaded new version 9.32. Please try it.


baijianpeng VIP
Total posts: 239
07 Дек 2015 15:10

I installed the new version, now if clicked the Alipay button, it can turn to Alipay website but still return error:

调试错误,请回到请求来源地,重新发起请求。 错误代码 ILLEGAL_PARTNER_EXTERFACE 说明:如果您不是因为本接口集成调试而看见该错误提醒,请联系本次请求来源网站,本错误属于网站集成接口的错误。

You can see the error code in this message.

Please try to fix this.

Thank you.


Sergey
Total posts: 13,748
09 Дек 2015 07:36

Here are some links

https://github.com/lokielse/omnipay-alipay/issues/15 https://www.drupal.org/node/1841162

Looks like cross-border webpayment method have to be active in your Alipay account. We use create_forex_trade. DO you have international account?

Anyway there are a lot of info in Chinese. Please google for ILLEGAL_PARTNER_EXTERFACE and see what you find. Most probably problem is in your Account settings.


baijianpeng VIP
Total posts: 239
09 Дек 2015 13:24

OK, now I know the reason: you had defined the Alipay service as "create_forex_trade", but my Alipay gateway were registered as "create_partner_trade_by_buyer" service. So, the service is not the same. This is the cause of "ILLEGAL_PARTNER_EXTERFACE" error.

I noticed that on Alipay official website, they offer several type of services. Among those services, the one I registered is for "personal", and the one named "create_direct_pay_by_user" and "create_direct_pay_by_user" are both for "business (company)" account.

Since my Alipay account is "personal", not a business one, I can only use the "create_partner_trade_by_buyer" type.

Could you please create a new Alipay payment plugin for "create_partner_trade_by_buyer" type of service?

I had attached a DEMO file from Alipay official document section. You can use it as an example.

You can name the new plugin as "alipay_partner_buyer", and name the existing one as "alipay_forex_trade". (In fact, very few people use this type).

Thank you.

Sorry the file is too big to be attched here. I will give you the download link:

Click here to link...


Sergey
Total posts: 13,748
10 Дек 2015 05:18

I have just added new parameter to plugin to select service. I'll upload new version later today.


baijianpeng VIP
Total posts: 239
10 Дек 2015 12:25

New version of Alipay gateway plugin v9.6 give me following error message after clicking on it:

错误代码:ILLEGAL_ARGUMENT

I think some parameters may need to be changed too, when the service is changed. I mean maybe, since I know nothing about PHP programming.

Please check the demo package from Alipay official website to compare and find the cause.

Thank you.


Sergey
Total posts: 13,748
10 Дек 2015 16:54

Can you also google for possible cases. I find most information in Chinese.


baijianpeng VIP
Total posts: 239
13 Дек 2015 02:10

I know nothing about PHP programming. So I don't know how to solve this.

On the Alipay official website, you will find this page:

https://app.alipay.com/market/productIndex.htm

On this page, there lists only 3 types of services for PC webpages. (en, this is very different from PayPal). Among these 3 types, only the 2nd (middle one) is for personal Alipay account.

alipay-pc-payment-method

And, I suspect the information from Gibhub for Alipay gateway. I think you should use the DEMO documents from Alipay official website.

The demo code (for personal account) is: http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/demo/alipayescow.zip

This page is for personal account : https://cshall.alipay.com/support/help_detail.htm?help_id=491081

If you can not read Chinese, maybe you can use Google Translate to help you.


baijianpeng VIP
Total posts: 239
13 Дек 2015 02:15

Now I found the Alipay official documents about payment gateway integration:

http://doc.open.alipay.com/doc2/detail?treeId=61& ;articleId=103565&docType=1

Thank you.


baijianpeng VIP
Total posts: 239
16 Дек 2015 21:54

I noticed that HikaShop component has a built-in payment plugin for Alipay. This plugin offers two types of services: one for "Partner" (personal account), one for "Direct" (company account).

You can download HikaShop Starter (the free version) from:

http://www.hikashop.com/index.php/extensions/hikashop-starter

Maybe this plugin can give you some inspiration on developing Alipay payment plugin for Emerald.

Thank you.


Гость
24 Дек 2015 00:35

baijianpeng Today is the first time I test the Alipay payment plugin.

When click on the Alipay button to pay, there shows up a warning message:

There is no AliPay Parent ID set in payment gateway parameters

Of course I have correctly input the PID and Secret Key in the payment gateway settings. Those PID and Key are just copied from my Alipay account 5 minutes ago, and checked twice before save.

So I think this payment gateway plugin has a bug.

Hope you will fix it soon.

If you want to test yourself, please visit www.joomlagate.com and click on the last menu item of the top navigation menu, it is the plan list. Then you can just pick up the first plan and click the "buy now" button. Then you will see the Alipay button.

baijianpeng http://www.hikashop.com/index.php/extensions/hikashop-starter

Hi, I want to ask Alipay test system.

I'm South Korean and I have been trying Alipay payment system.

I have an own PID and secret key that our team developer's setting finished. (He said)

So I put the test ID(Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра. document.getElementById('cloak080283ca04c84b09d165e1d7b44d60c6').innerHTML = ''; var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy080283ca04c84b09d165e1d7b44d60c6 = 'alipay' + '@'; addy080283ca04c84b09d165e1d7b44d60c6 = addy080283ca04c84b09d165e1d7b44d60c6 + 'gmail' + '.' + 'com'; var addy_text080283ca04c84b09d165e1d7b44d60c6 = 'alipay' + '@' + 'gmail' + '.' + 'com';document.getElementById('cloak080283ca04c84b09d165e1d7b44d60c6').innerHTML += ''+addy_text080283ca04c84b09d165e1d7b44d60c6+''; ) and password(alipay).

(payment password is 111111 and this information from http://global.alipay.com/product/websitepayment.htm <- download and 'test environment.doc')

But after then, I can not do nothing anymore.

I tried to charge money which Alipay gives 0.95 yuan that it doesn't move test account.

If you know how can I use test payment account ...

Thanks a lot.

and have a good day Chrismas :-)


Sergey
Total posts: 13,748
29 Дек 2015 07:44

PLease try new version I have uploaded. 9.35


baijianpeng VIP
Total posts: 239
24 Янв 2016 14:29

I was busy recently. Today I downloaded the latest 9.35 version of this plugin but I have no chance to test it now. Because Alipay closed the personal online payment gateway service now. Only company account can use Alipay payment gateway on a website.

Since I can not register a company at present, I have to wait a long time to use this.

Well, thank God that Emerald has offered "offline payment" option, I can redirect users to my money collection page with offline payment method.

Thank you.

Работает на Cobalt