Le status des commandes reste en "créé"
- pulsarinformatique
-
Topic Author
- Offline
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.3.1
sorry the original message was in french, i'll do it in english ^^
Hie everybody
I've linked my website with the sandbox paypal fine, and the emails notifications work good, BUT when i finish to pay, at the return, the order is not set to "confirmed", the status don't move
I don't understand why, because i set the options right :
Invalid status
Pending status
and Verified status
but the order's status don't move, even if i pay the order with paypal and paypal say "it's paid"...
how to do this automatically please ?
thx
---
Joachim
Bonjour à tous
Voilà, j'ai bien relié mon site au bac à sable de paypal, les notifications emails marchent bien, mais au retour de la transaction, la commande créée reste en mode "créée" et n'est pas passée en "confirmée"
Dois je faire à la main le passage de status à "confirmée" ? en remplissant une url retour serveur/serveur ?
Pourtant j'ai bien rempli les options dans la config du plugin paypal :
statut invalide : "annulée"
statut en attente : "créée"
statut vérifié : "confirmée"
Je ne comprends pas ce qui cloche... help please ?
Merci
Joachim
Please Log in or Create an account to join the conversation.
The orders not being confirmed after the payment can be linked to a lot of different causes.
We actually have a documentation which lists the different things and what to do and where to look to find clues on that:
www.hikashop.com/support/documentation/i...or.html#notification
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
Well, i can see my log file isn't exist, even if i set debug mode in true, and in the file config, the value of the path file is media/com_hikashop/upload/safe/logs/report_554382324.log
the validation mode is false, so the order have to normally change when the order is pay...
i've just made a chmod -R 777 at my httpdocs ... and my .htaccess is correct i think...
help me please !
thx
Joachim
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Regarding the log being empty, download the install package on our website and install it on yours and then try again a payment with the debug mode turned on.
Also, check on the access log of your server as explained in the documentation link I gave you and check the other points mentioned there.
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
i've made a print_r of the $vars i send to paypal, on the plugin paypal, in the onAfterOrderConfirm function
do you see any error please ? is there here enough params to say to paypal to change the status of the order at the end ?
thx
Joachim
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
the notification is call with this adress : index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal
I've made a debug_print_backtrace on the function onPaymentNotification of the paypal plugin AND i've found the first plugin called with this url : it's the plugin system plugins/system/hikashoppayment/hikashoppayment.php
the processPaymentNotification() is called by the onAfterInitialise(). IN this processPaymentNotification() we do THIS :
BUT the $dbg is empty when i call the url, because $dbg call the plugin onPaymentNotification() who receive the data send by paypal
BUT i don't understand why i don't receive the data from paypal
any help please ?
thx
Joachim
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
All work perfectly when i cancel an order on the paypal page : the order status is automatically "cancel"
BUT when i pay the order (on the sandbox paypal) the order status still "Pending" - but on the sandbox it's write "you've successfully paid"
and when i see the log file i see this :
please tell me what happens ?
thx
ps : there is my config
Joachim
Please Log in or Create an account to join the conversation.
As the log says, the payment notification received by HikaShop says that the payment is pending.
This means that you have the "enable validation mode" setting activated in your payment method settings page and because of that, the payments are not automatically validated when they are made. You need to validate them manually.
That's the most common reason.
But it can also be because other reasons independent from HikaShop. Here is a list you can review in your PayPal merchant account IPN history:
help.ticketbud.com/hc/en-us/articles/216...al-Payments-Pending-
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
The configuration is good yes.
It might be. But I would recommend you to check your IPN history in your PayPal merchant account in order to know the reason of the problem or contact the PayPal support. They should be able to tell you what's the problem.
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
thx
Joachim
Please Log in or Create an account to join the conversation.
- pulsarinformatique
-
Topic Author
- Offline
So, when i will be in the real paypal, the return of the statut will be fine
thx
Joachim
Please Log in or Create an account to join the conversation.