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.
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
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 :)
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!