Share » Forums » Install & configuration » Pay-per-download doesn't work with...

Pay-per-download doesn't work with eZP 4.3

Pay-per-download doesn't work with eZP 4.3

Monday 31 January 2011 6:45:16 am - 9 replies

Author Message

Thiago Campos Viana

Monday 31 January 2011 8:07:13 am

Maybe the shop extension has some bugs, it seems discontinued since the release of 4.3.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Pascal France

Monday 31 January 2011 8:57:17 am

Olá Thiago,

Então como é que vamos fazer !

Is there anyone who can corroborate what Thiago said ?

And if it's true, is there a new shop extension/project ?

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Peter Keung

Monday 31 January 2011 9:53:38 am

I don't know of any reason why the pay-per-download code would not work with the latest versions of eZ Publish (for now). Your specific error seems to be a problem with PayPal and/or the payment gateway extension. The pay-per-download workflow (or any other shop workflow) won't fire if the payment gateway in front of it doesn't complete properly. Perhaps you have Payment Review enabled in your Sandbox account -- it should be disabled -- which isn't allowing a test payment to return as completed.

As for the eZ Publish webshop, although it is officially deprecated now, it still works as of eZ Publish 4.4. We have some clients looking at external solutions (such as Google Checkout) for everything after the shopping basket.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Pascal France

Monday 31 January 2011 10:18:33 am

Hi Peter,

Thanks for your reply.

1°/ Payment Review is well disabled

2°/ As for the payment gateway (ezpaypal extension) I use the same extension in all tested eZP installations and it comes from http://svn.ez.no/svn/extensions/ezpaypal/trunk/

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Thiago Campos Viana

Monday 31 January 2011 2:13:43 pm

Hello

You marked this as solved, but, what was the real problem?

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Pascal France

Monday 31 January 2011 11:23:15 pm

Sorry,

It was a mishandling. The problem has not been solved.

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Peter VARNOK

Thursday 03 February 2011 11:54:38 am

Hi,

We are also very interested by such a functionality.

If someone could provide a solution so that it works with EZP 4.3 we'd be very pleased.

Thanks in advance.

P.Varnok

Peter Keung

Friday 04 February 2011 4:55:07 pm

We just tested this with eZ Publish 4.4 and the ezpaypal extension.

We were able to reproduce the same problem in the PayPal sandbox: PayPal was returning a "Pending" response, while the ezpaypal code is expecting "Completed". You could hack classes/ezpaypalchecker.php (around line 82) to change the check to accept both "Pending" and "Completed" just so that your PayPal tests work. However, if you dig a bit deeper, the response says "pending_reason = unilateral" which means that the e-mail address of the recipient account has not been verified. So make sure that your configured recipient e-mail address is 1) verified; and 2) it's the specific seller e-mail address, not the general e-mail address on your sandbox account. Then PayPal should start returning "Completed" responses.

The pay-per-download code, when executed after a successful payment, still works :)

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Pascal France

Sunday 06 February 2011 9:55:49 am

Peter, thank you very much for your collaboration ;-)

I knew nothing about Paypal or how to setup an e-shop. Now I know a little more....

The problem I encountered was actually due to a problem of management of currency (dollars, euros, pounds, etc....). If the seller account is in U.S.A so it will only accepts dollars by default . If the products are in euros then the payment will not succeed.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu