PrestaShop Paypal module - Agile Paypal Express Checkout

In this forum you can post anything related to PrestaShop Modules/Addons from Agile Addons-Modules.Com.

If you need support for any module/addon from Agile Addons-Module.Com, please post it here. We will respond as soon as possible. Usually within one business day.

Please indicate the PrestaShop version, product name. product version, and if possible your order # to get a prompt response.

Moderator: jeffayao_1666

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Sat Dec 10, 2011 7:55 pm

Please try to set logging to \"on\"in file YourStoreRoot/modules/agilepaypal/agilepaypal.php

define(\'Agile_Logging\', \'on\');

Then try to do the same test, there will be IPN data logged into file debug.log under the module folder.
If you can not see the IPN data in the debug.log file, it means there is connection issue between your server and Paypal server.

Let me know the result.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

PrestaShop Paypal module - Agile Paypal Express Checkout

Postby pierrieone_964 » Sat Dec 10, 2011 7:57 pm

Thank you for you reply and sorry for my delay answer.
I checked the file under Agile paypal Express checkout module folder as your instructed.
and I found the define(\'Agile_Logging\', \'on\'); has been there.

and the log file contain some info about my test transaction that was sent back from Paypal IPN. Any other suggestion for me ? Thanks!

Best regards
pierrieone_964
 
Posts: 0
Joined: Sat Dec 10, 2011 7:48 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Sat Dec 10, 2011 8:05 pm

I checked the file under Agile paypal Express checkout module folder as your instructed.
and I found the define(\'Agile_Logging\', \'on\'); has been there.

and the debug.log file contain some info about my test transaction that was sent back from Paypal IPN. Any other suggestion for me

Could you please send me the log file that contain Paypal IPN data so that I can have a look for you. I weill let you know the result as soon as possible.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Sat Dec 10, 2011 8:35 pm

thanks for the log file.

I checked and tested the same data on my invironment, it seems that your test account has not been set correctly. The zipcode field is required in PrestaShop customer account, but you don't have it in your address. I don't know could this happen. But this caused the Fatal error when tried to create user account for the customer. I after modify the IPN data with test city, it worked correctly.

Please check you Paypa sandbox test account and set it correctly then try again.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

PrestaShop Paypal module - Agile Paypal Express Checkout

Postby victorfeez_969 » Sun Dec 11, 2011 8:38 pm

Hello,
Your Paypal ExpressCheckout module seems very interesting to me. I got some questions.

Is it possible to set this up in back office to \'capture\' payments for Paypal? The standard Prestashop module has this option which is very good as you can do instant refunds if the product is out of stock. The benefit of this is that you don\'t get charged the paypal fee until you capture the payment. They way your module is working at the moment the payment is instant and I get charged the fee by paypal. If the item isn\'t in stock then I sometimes need to refund the money, but paypal will still take their fee.
victorfeez_969
 
Posts: 0
Joined: Sun Dec 11, 2011 8:38 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Sun Dec 11, 2011 8:42 pm

Thanks for your inquiry.

Is it possible to set this up in back office to \'capture\' payments for Paypal? The standard Prestashop module has this option which is very good as you can do instant refunds if the product is out of stock.

Your suggestion seem good. This option is available for API version of Paypal. I will have a look at to see if this option is available for standard payment method at Paypal side.

If the item isn't in stock then I sometimes need to refund the money, but paypal will still take their fee

But as I know, when you refund within 6 months, you will get the fee refund from Paypal too
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

PrestaShop Paypal module - Agile Paypal Express Checkout

Postby ahmed_1000 » Sat Dec 17, 2011 8:17 pm

Wwhen a registered user follow standard checkout steps, at third steps in payment list, you see both standard Paypal payment and Agile Paypal payment. To avoid confusing I just need one in the payment list choice.

I could disable standard paypal and use always Agile Paypal but I found that, if used with registered customers, if different their paypal address always overrides the registered customer address in prestashop, even if in paypal summary the addres shown is the one registered in prestashop.

In this case I will need to use only standard paypal for registered users in order to use prestashop address changes features. How can I disable Agile paypal from showing up in the list of payments for registred user at third checkout step?
ahmed_1000
 
Posts: 0
Joined: Sat Dec 17, 2011 8:17 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Sat Dec 17, 2011 8:22 pm

hello I don't know why you want to disable the Agile Paypal for registered users.
The functionality of Agile Paypal Express Checkout and normal Paypal module is the same when it comes to registered user. You don't have to disable this.

But if you really want to disable this, you can make following changes to do that

Find file /modules/agilepaypal/agilepaypal.php
Find function hookPayment($params),
Insert a line "return;" at the top of the function as below

Code: Select all
public function hookPayment($params)
{
return;
....
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby cfontaine » Tue Dec 20, 2011 8:11 pm

I'm trying to install the module and test it with Paypal Sandbox.
I succeed to make one order but now I have the following error with Paypal

This invoice has already been paid. For more information, please contact the merchant.

If I check the source code, I have
Code: Select all
<input type="hidden" name="custom" value="5" />
         <input type="hidden" name="invoice" value="0" />
cfontaine
 
Posts: 2
Joined: Tue Dec 20, 2011 8:07 pm

Re: PrestaShop Paypal module - Agile Paypal Express Checkout

Postby shokinro » Tue Dec 20, 2011 8:54 pm

thanks for using our module.
you need to set "allow multiple payments for one invoice" at your Paypal account.

see here for more detail
http://alvinjiang.blogspot.com/2011/12/paypal-tips-paypal-error-this-invoice.html
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

PreviousNext

Return to Support forum - Agile PrestaShop Modules/Addons

Who is online

Users browsing this forum: No registered users and 7 guests