how to test purchase from begin to end

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #15924

Do you have the options "allow payment notifications from paypal" and "debug" of the plugin activated ?
If so, you should have the file created and an email sent to you when a paypal payment notification is received.
If you don't and that these options are activated, it means that something on your website blocked the notification before reaching hikashop. It can sometimes happen on joomla 1.6 with the language filter plugin activated (is that the case?) or with some security component. It can also happen if you have an htaccess file which protects your website with a password (paypal doesn't know your htacess password and thus cannot send the notification to you).

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
13 years 6 months ago #16018

"allow payment notifications from paypal" and "debug" plugins activated.
language filter plugin NOT activated
Yes I have htaccess and deleted still status created

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16032

Do you have a SEF component which would redirect non SEFed URLs ?
Could you give a link to your website ?

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
13 years 6 months ago #16049

only redirect plug-in, no one enabled link.
podjigateli.z83.ru

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16056

When I call directly the notification URL on your website ( podjigateli.z83.ru/index.php?option=com_...pl=component&lang=en ), I'm getting that error:

Error
JFTP::login: Unable to login
JFTP: :mkdir: Bad response
JFTP: :chmod: Bad response

Warning: file_put_contents(/ftp_aerium-03/podjigateli_16/podjigateli.z83.ru/media/com_hikashop/upload/safe/logs/report_246948242.log) [function.file-put-contents]: failed to open stream: No such file or directory in /ftp_aerium-03/podjigateli_16/podjigateli.z83.ru/components/com_hikashop/controllers/checkout.php on line 891

That means that you didn't configure properly the FTP layer on your website. Please fix it and then try again. You should then be able to look at the log of the payment notification after your transaction is validated by paypal and that will help in understanding the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 0
13 years 6 months ago #16399

ClickWebDesign wrote:

Hi,
I keep getting the "This invoice has already been paid. For more information, please contact the merchant." I'm testing using the paypal sandbox. I have tried the suggestions repeated below:

In Your Paypal Account:

Login to your Paypal account by going to www.paypal.com .
Click "Profile" on the top menu bar.
Under "Selling Preferences", click "Payment Receiving Preferences".
Under "Block Accidental Payments", choose "No, allow multiple payments per invoice ID".

On the HikaShop side:

Open your phpmyadmin and select your database.
There increase the auto_increment value of the hikashop_order table by running a query: www.cxliv.org/2005/01/06/updating_auto-increment_in_mysql.php

Any further thoughts or info I can provide to help?

Thanks
Chris


Once I switched from the sandbox to live paypal this error never appeared - I won't bother with paypa sandbox in future, just use 50c test products!

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
13 years 5 months ago #17209

Hi,

Am experiencing the same problem as well "This invoice has already been paid. For more information, please contact the merchant." with
Sandbox testing and am not able to update any "Profile" settings.

I have already deleted all the orders from the database. In fact, I've checked and its a new order number.

I did change the address_override = 0 because was encountering a "not ship to your location" error previously. It solved that issue,
does it affect?

Any solution to this?

Please advice.

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 5 months ago #17213

Hi,

We've never said that you should delete the orders in the database but that you should change the auto_increment value to a bigger value. Alternatively, you should try to change the settings on your paypal account.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
13 years 5 months ago #17265

The auto_increment solution worked. Thanks. Did not adjust any profile setting on Paypal coz am using Sandbox for testing. Will do a full test run when the site is ready. Keep up the good work! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum