View Full Version : Upgrade Listing -> Payment canceled -> Result page shows ERROR 404

Steffen Buschkemper
June 9, 2012, 11:00 PM
Hi @ Flynax Team,

There is a bug in payment.
I think its reproducible in all payment methods. (e.g. Paypal)
The user upgrade a listing and he chooses paypal payment.
On the side of PayPal, he noted that he has chosen the wrong pay method.
He click << the return to site >> link.
He is returned to http://www.your-site.com/en/upgrade-listing.html?canceled&item=1.
This page shows -> ERROR 404: Requested page not found.

Can you fix that?.

Best regards

June 13, 2012, 12:16 PM

You need open script: includes/controllers/upgrade_listing.inc.php
Find line (~28):

$listing_id = (int)$_REQUEST['id'];

and replace to:

$listing_id = (int)$_REQUEST['id'] ? (int)$_REQUEST['id'] : (int)$_REQUEST['item'];

Steffen Buschkemper
June 13, 2012, 10:45 PM
Hi Vladimir,

In a certain way, you're right. I have the code changed and
after successful payment the complete page will shows now the payment page.
He does not see the Done! message.
The user does not know on which payment was successful.
He will think that the payment was fail and pay again.

Can you check this?

Best regards

June 14, 2012, 08:53 AM
You can fix the problem in the following way (Your clients will be seen notification after successful payment):

add this code to includes/controllers/upgrade_listing.inc.php (line ~50)

$rlNotice -> saveNotice($lang['notice_listing_upgraded']);

Steffen Buschkemper
June 14, 2012, 10:01 AM
Hi Vladimir,

Thank you this will fix this problem.
But there are more problems. If i add and pay a plan all my listings disappears.
In Admin panel -> Listings it shows "No items to display".
I have added and pay 3 Listings and i have see this listings in Admin panel -> Listings before i add and pay a plan.
I have open a ticket.
The payment system is very faulty.

Best regards

July 25, 2012, 10:12 AM
Hello Guys,
I would like to inform you that this bug fixed in Flynax 4.1.0 version which will be released at the beginning of August.