Zen Cart Logo
Forums / Addon Payment Modules / Checkout success, but no order is generated, using Payfast gateway

Checkout success, but no order is generated, using Payfast gateway

Views: 4,205

Results 1 to 17 of 17
2 May 2011, 2:39 PM
#1
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Checkout success, but no order is generated, using Payfast gateway

Zencart version: 1.3.9h, newly installed.
I installed an addon created by Payfast.co.za, a South African payment gateway.
Customisations: I have created a new template and changed colours and logo.

I have set up my store and created products. I also used the Payfast addon to the payments module to collect payment from customers using the Payfast gateway.

I have been testing the site and everything works as I would expect, all emails are sent, gift certificates are sent and redeemed when new customers register, etc.

Problem: When a proceeding to checkout, the site gets redirected to the Payfast payment gateway and payment is collected. Payfast redirects back to my site after payment has been collected and I get to the Checkout Success page.

However, no order is created. No order number is generated so the order number field on Checkout Success is blank. When I log into the admin panel and view the Orders report, there are no orders. If a gift certificate was used in the purchase, the balance is reset as if it had not been used.

I do receive email confirmations from the Payfast gateway showing that payments have been collected and my Zencart site seems to receive the confirmation from Payfast because it shows the Checkout Success page, but no order is created.

I would be grateful for any advice on how to fix this.

Many thanks
Bruce

2 May 2011, 3:36 PM
#2
soniccc avatar

soniccc

Zen Follower

Join Date:
May 2010
Location:
Cyberspace
Posts:
387
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

have you tried setting the order status of the Payfast payment gateway to "pending"

2 May 2011, 5:13 PM
#3
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

Yes, both the 'Set preparing order status' and 'Set acknowledged order status' are both set to pending.
The purchases don't appear in Zencart at all. Stock levels remain unchanged, gift certificate balances are not used up and customers have no purchase history.

2 May 2011, 6:45 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Checkout success, but no order is generated, using Payfast gateway

Evidently something's not correct with your Payfast gateway or the Payfast module you're using.

2 May 2011, 7:18 PM
#5
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

Thanks very much. I will pursue support from the Payfast payment gateway as a next step.

The thing that made me think that the problem was not with the payment gateway is that after making payment, the payment gateway does properly redirect back to my store and the Checkout Success page is displayed. That makes me think that a success message is being received from the payment gateway, but somehow it is not generating the order. Not sure if this logic is correct though - would Zencart display the Checkout Success page if a success message was not received from the payment gateway?

2 May 2011, 7:40 PM
#6
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

Thanks for that, hopefully we can find help to solve the problem for both of us.

I have also been through the book numerous times to check that I have configured everything correctly. I also rechecked the installation of the add-on from Payfast and that all appears to be correct. Also searched through the FAQs and can't find that anyone else has experienced a similar problem so far.

2 May 2011, 8:06 PM
#7
kevinjatmb avatar

kevinjatmb

New Zenner

Join Date:
Apr 2011
Location:
Montana
Posts:
15
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

Another possibility: I'm using iPage hosting. Any connection there with you?

3 May 2011, 5:53 AM
#8
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

No connection there, I am using Gridhost as my hosting provider.

4 May 2011, 10:59 AM
#9
bruce avatar

bruce

New Zenner

Join Date:
May 2011
Posts:
14
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

I have managed to resolve this issue. Surprisingly, it seems that it is quite possible for Checkout Success page to be displayed without an order being generated.

This issue had to do with the integration module from Payfast. It was configured for the admin folder to be called 'admin', but on my installation it is called 'zc_admin'. The zc_ prefix may have been added by my hosting provider as they offer Zencart to users as preinstalled software in the hosting package along with a number of other cart options.

Thanks to Dr Byte and Soniccc for your responses and patience. KevinjatMB, maybe checking the folder names in the Authorize.NET payment module will help resolve the problem for you too.

12 Jun 2013, 6:29 PM
#10
cecileyorkies avatar

cecileyorkies

New Zenner

Join Date:
May 2013
Location:
south africa
Posts:
11
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

bruce:

I have managed to resolve this issue. Surprisingly, it seems that it is quite possible for Checkout Success page to be displayed without an order being generated.

This issue had to do with the integration module from Payfast. It was configured for the admin folder to be called 'admin', but on my installation it is called 'zc_admin'. The zc_ prefix may have been added by my hosting provider as they offer Zencart to users as preinstalled software in the hosting package along with a number of other cart options.

Thanks to Dr Byte and Soniccc for your responses and patience. KevinjatMB, maybe checking the folder names in the Authorize.NET payment module will help resolve the problem for you too.

HI
HAVE SAME PROBLEM - GRIDHOST cant help - PayFast redirect to Zen Cart!!! so where am I going to get help ! Have checked the settings - also renaming the zc admin ---- is there another file (in Payfast) maybe that should be changed with the new admin file name???

12 Jun 2013, 9:07 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Checkout success, but no order is generated, using Payfast gateway

cecileyorkies:

is there another file (in Payfast) maybe that should be changed with the new admin file name???
If there is, then doing a search for whatever your old admin foldername was would be a good starting point.

The fast way to find out which specific file to edit is by using the Developers Toolkit in your Admin:
http://www.zen-cart.com/content.php?80-how-do-i-find-out-what-files-to-edit
http://www.zen-cart.com/content.php?81-how-do-i-use-the-developers-toolkit

25 Jun 2013, 8:45 AM
#12
cecileyorkies avatar

cecileyorkies

New Zenner

Join Date:
May 2013
Location:
south africa
Posts:
11
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

cecileyorkies:

HI
HAVE SAME PROBLEM - GRIDHOST cant help - PayFast redirect to Zen Cart!!! so where am I going to get help ! Have checked the settings - also renaming the zc admin ---- is there another file (in Payfast) maybe that should be changed with the new admin file name???

I still have the problem of no orders generated, no order no showing when Payfast redirects back to the shopsite.
*** my currency ZAR do not work in the set up - so I changed to ZAF which works - not sure if this could have an impact on the order generating? (saw ZAF as code although ZAR is official currency - how can you change it to work in Zen as ZAR???) had to change it in Payfast files to ZAF...

*** my admin file NAME was changed before I installed Payfast module - all files are in my new admin folder and the related files - double checked with the developer page instructions of manual loading files...

Any suggestions? I will reinstall the payment module now and see if any changes occur by magic! :ohmy:

25 Jun 2013, 9:12 AM
#13
cecileyorkies avatar

cecileyorkies

New Zenner

Join Date:
May 2013
Location:
south africa
Posts:
11
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

Re installed Payfast - now can use ZAR as currency! Just let the files copied into a admin folder (instead of my new admin renamed folder).... still no order no shows up when returning to shop from Payfast - I use the sandbox mode to test - does this actually return an order no? not sure ....

15 Jul 2013, 10:27 AM
#14
gcopping avatar

gcopping

New Zenner

Join Date:
Jan 2010
Posts:
80
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

I am having exactly the same problem with Zen Cart 1.5.1 using the Payfast Payment module. Payfast support have been looking at it but havn't come up with a solution. I see that you say you have found the problem is to do with the Admin folder name (my Admin folder name is just a long string of characters and numbers) but I am not clear from your post what the solution was - can you elaborate?

15 Jul 2013, 11:20 AM
#15
cecileyorkies avatar

cecileyorkies

New Zenner

Join Date:
May 2013
Location:
south africa
Posts:
11
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

gcopping:

I am having exactly the same problem with Zen Cart 1.5.1 using the Payfast Payment module. Payfast support have been looking at it but havn't come up with a solution. I see that you say you have found the problem is to do with the Admin folder name (my Admin folder name is just a long string of characters and numbers) but I am not clear from your post what the solution was - can you elaborate?

Hi - a guy from Payfast found some problem and locked into my Zencart and fixed it ... some missing file .. sorry I cant give details - email [email protected] - he did not give a name! My shop is working great now! Keep trying I did not get help first time around... maybe you lucky and get the same guy to fix your cart too! I hope you come right as it is frustrating to struggle like that!!!

15 Jul 2013, 2:55 PM
#16
gcopping avatar

gcopping

New Zenner

Join Date:
Jan 2010
Posts:
80
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

cecileyorkies:

Hi - a guy from Payfast found some problem and locked into my Zencart and fixed it ... some missing file .. sorry I cant give details - email [email protected] - he did not give a name! My shop is working great now! Keep trying I did not get help first time around... maybe you lucky and get the same guy to fix your cart too! I hope you come right as it is frustrating to struggle like that!!!

Hi,

Thanks for the info - Payfast support are still looking at it. Can you remember what date you raised your support ticket with them (or even better have the support ticket number) so that I can ask them to look at their history of what they did?

I appreciate your help.

16 Jul 2013, 10:02 AM
#17
cecileyorkies avatar

cecileyorkies

New Zenner

Join Date:
May 2013
Location:
south africa
Posts:
11
Plugin Contributions:
0

Re: Checkout success, but no order is generated, using Payfast gateway

gcopping:

Hi,

Thanks for the info - Payfast support are still looking at it. Can you remember what date you raised your support ticket with them (or even better have the support ticket number) so that I can ask them to look at their history of what they did?

I appreciate your help.

Ticket ID: BZP-104-52835
Department: Support
Date - 26 Jun