Payza Not Changing Order to Confirmed On Sucess.

  • Posts: 21
  • Thank you received: 0
9 years 2 months ago #213984

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.4.43
-- Browser(s) name and version -- : chrome

I am trying to use the Payza (alertpay) payment method in my store ... in my payza account i set up my IPN to enabled, enabled "Allow Encrypted Payment Details (EPD)"

Also set the alert url to: www.MYSITE.COM/index.php?option=com_hika...pl=component&lang=en

Set "Transaction update notifications" to enabled.....

ON my Hikashop side I have it set as:

Put in my payza email.
entered my payza IPN security code.

In the "The confirmation URL you need to enter in your Payza account configuration page" the following URL is displayed: www.MYSITE.COM/index.php?option=com_hika...pl=component&lang=en

IN the "The confirmation URL you need to enter in your Payza account configuration page" I have it set to YES.

Debug NO

Nothing in the Cancel or Return URL fields.

Invalid Status: Canceled
Verified Status: Confirmed

When I turn on TEST MODE on my payza account and add an item to my cart and run through the checkout process it says they payment is good and sends me back to my website to the URL: www.MYSITE.COM/index.php?option=com_hika...pl=component&lang=en

But when I look in my purchases for that user account nothing is showing.... I go in to my Hikashop admin and look at the order and the status is set to "Created" and not Confirmed.

What is going on here and how do I rectify it?

Thank you in advance and hopefully someone can look in to this soon since I have no processor right now since I had to drop PayPal.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 2 months ago #214031

Hi,

There are two things here:
- The return URL configured in your Payza account is wrong. You've entered there the IPN URL instead of the the normal return URL. In fact, you don't need to provide a return URL in your Payza account as HikaShop already sends it to Payza.

- The payment notification request from Payza to the HikaShop alertpay plugin is not done. Because of that, HikaShop keeps the order as created. This indicates that the confirmation URL hasn't been set in your Payza account.

All in all, it sounds like you put the IPN URL as return URL in your Payza account instead of as the payment status notification URL. I've never used the merchant interface of Payza so I won't be of much help here, but I would recommend to check that the IPN URL has been set at the correct place with the Payza support.
If that's the case, then you can read this documentation:
www.hikashop.com/support/documentation/i...or.html#notification
It's for PayPal but the points to check are basically the same for Payza too.

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

  • Posts: 21
  • Thank you received: 0
9 years 2 months ago #214040

Ok thank you for your help. I have attached a couple imges of the payza side of things. can you please tell me what needs to be set to what??





Attachments:

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

  • Posts: 21
  • Thank you received: 0
9 years 2 months ago #214041

hikashop side:


Attachments:

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 2 months ago #214047

Hi,

Make sure that the URL in your payza account has that text:

&task=notify&notif_payment
and not the text:
&task=notify¬if_payment

The following user(s) said Thank You: ucan

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

  • Posts: 21
  • Thank you received: 0
9 years 2 months ago #214063

Thank you!!!!! that fixed the problem.

why is it that in the hikashop admin it told me to put in the other task and not the correct one? Is it a bug that needs to be fixed with the payza payment plugin?

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

  • Posts: 21
  • Thank you received: 0
9 years 2 months ago #214066

Also when the person who purchased the product receives the email showing that the order is now confirmed and ready there is an error at the top of the email saying:

Notice: Use of undefined constant JPATH_COMPONENT - assumed 'JPATH_COMPONENT' in /home/MYFOLDER/public_html/libraries/legacy/view/legacy.php on line 164

Can you tell me what is causing this?

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 2 months ago #214068

That's because your browser converted the

&not
to that character even though it should only do that for
¬
We'll modify the plugin interface to avoid that in the future.

That warning comes from Joomla. Turn off the "error reporting" setting of the Joomla configuration and you won't see it. It's not important.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum