How to turn status from "created" to "confirmed" ?

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #137971

Greetings,

I maked several tests with paypal and I saw that "created" order status do not turn "confirmed" after paypal payment process is finished. How to turn "confirmed" automaticaly after paypal payment conclusion?

Thk.

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

  • Posts: 101
  • Thank you received: 9
10 years 11 months ago #137973

You have to activate "IPN" in your Paypal account.

The following user(s) said Thank You: andersondionizio

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

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #137975

what is the URL i need to set to paypal can notify me?

When you turn on IPN on the Paypal, it want to fill the URL field. I fill with this value that i have found on the forum:

http://YOUR_WEBSITE/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=YOUR_LANGUAGE

Of course, YOUR_WEBSITE and YOUR_LANGUAGE was correcty replaced. But it dont work for me!

What is wrong? I want to receive paypal confirmation and the "created" status turned to "confirmad" automaticaly.

Thk.

Last edit: 10 years 11 months ago by andersondionizio.

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
10 years 11 months ago #137996

Make sure that you have

&not
and not the character ¬ in the URL
Also, it could come from a lot of different causes:
www.hikashop.com/support/documentation/i...or.html#notification

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

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #138007

Thanks, the problem is solved!

The problem was: "the menu on the checkout is not accessible to non logged in users.". Just switch item menu to public and all is working nice.

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

  • Posts: 60
  • Thank you received: 1
10 years 10 months ago #140441

Hi,
I've the same problem.
I've tested the IPN url
http://YOUR_WEBSITE/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=YOUR_LANGUAGE
in the paypal sandbox and it works, but I don't receive the payment email notification nor the order status is switched to confirmed.

The sandbox account works when I test other sites paypal plugin, so there isn't any restriction.

The option "allow payment notifications from paypal" of the PayPal is turned on and checkout menu item access level is public.
Yes, also the plugin access level is settled to all.
I've even disabled falang language switcher (even if I run a Joomla 3.0)

The Paypal plugin haven't any debug mode (if I don't miss it), not in the plugin itself nor in the Hika config payment method options so I can't have a log

What else can I do?
Thanks in advance

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
10 years 10 months ago #140445

Hi,

The website is not in maintenance ? There is no htaccess blocking the access ? What do you have in the payment log ?
(basically, check all the other points mentioned in the documentation www.hikashop.com/support/documentation/i...or.html#notification )

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

  • Posts: 60
  • Thank you received: 1
10 years 10 months ago #140467

Hi Nicolas,
the website is not in maintenance, of course, and here below you can find the .htaccess (it's the joomla's default, I only added the instruction to run PHP 5.3).

The payment log file is empty. I read the list in that page dozen of times.
I'll re-check everything tomorrow morning.

The strange thing is testing the IPN url from the paypal sandbox it works...

here you are with the .htaccess. Please, let me know if you see something strange.

Thanks in advance.


##
# @package Joomla
# @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

# Use PHP 5.3
AddType application/x-httpd-php53 .php

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
10 years 10 months ago #140480

The htaccess is fine.
Did you turn on the debug mode of the plugin ?
Also, you can look in your apache access log for the notification URL. The line of the URL there can give precious information on why the notification doesn't work (for example if a third party extension redirect the URL before it reaches HikaShop).

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

  • Posts: 60
  • Thank you received: 1
10 years 10 months ago #140500

Hi Nicolas,
I reinstalled the component and now it works.. don't ask me why, I don't know. I didn't touch a single line of the code.

By the way, the apache access log was empty and I cannot find the debug mode in the plugin, not in the plugin itself (joomla-extensions->plugin->hikashop->paypal) nor in Hikashop->generalconfig->paymentsystem->paypal->settings. Where is it?

Thanks for the help!

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

  • Posts: 12953
  • Thank you received: 1778
10 years 10 months ago #140528

Hi,
You'll be able to check your payment log file through "Hikashop->System->Configuration->Main" by using the "See the report" button of your Payment log file option.

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

Time to create page: 0.106 seconds
Powered by Kunena Forum