Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Successfull payments not updating order to Processing #5

Closed
evolvit opened this issue Jan 13, 2014 · 16 comments
Closed

Successfull payments not updating order to Processing #5

evolvit opened this issue Jan 13, 2014 · 16 comments

Comments

@evolvit
Copy link

evolvit commented Jan 13, 2014

We have upgraded to 1.8.1.0 and it was working fine before this.
Now when an order is placed and paid for via dps we get a new order email. But the order on the website still shows as pending. Even after shipping the item it still says pending. Both the Ship & Invoice options are gone as they have already been done.
The Logs show 3 Actions:
DPS Response: Purchase OK - create Invoice
MageBaseDps User returned to Success Url
DPS Response: Purchase OK - don't Invoice

And the item stays as pending, though it has been invoiced.

@glitch-nz
Copy link

Any update on this?

I'm having the same issue after upgrading to magento 1.8.1
Invoice is created, marked as paid, but order status is still set to payment pending.

Had to roll back to a previous version of magento to get things working again.

@fooman
Copy link
Owner

fooman commented Feb 28, 2014

Thanks for the reports - we haven't been able to replicate this so far. We have also just released version v1.5.10 which I have specifically tested on 1.8.1 for this issue.

Please upgrade and reopen this issue if it persists. Please include your current configuration settings as well (mask out any sensitive info).

@fooman fooman closed this as completed Feb 28, 2014
@evolvit
Copy link
Author

evolvit commented Mar 2, 2014

This still happens with the new version. I've been running this same software for the last 3-4 years and it only just recently started since Magento 1.8

@fooman
Copy link
Owner

fooman commented Mar 2, 2014

@evolvit currently we can't reproduce this which would allow us to see/fix the issue. Please provide as much information as you can for a single transaction.

@fooman fooman reopened this Mar 2, 2014
@evolvit
Copy link
Author

evolvit commented Mar 2, 2014

I don't mind giving you access to the live site if you want, I can pop through a $50 payment on your website as well to cover the time?

@fooman
Copy link
Owner

fooman commented Mar 2, 2014

@evolvit please get in touch via [email protected]

@fooman
Copy link
Owner

fooman commented Mar 3, 2014

Issue is solved with the latest version - there was an unrelated issue with the compiled state not being updated during the compilation process.

@fooman fooman closed this as completed Mar 3, 2014
@pauldowd
Copy link

pauldowd commented Mar 5, 2014

what was the step to resolve this issue, we did do a code change which fixed the bug, however we are still getting an issue where orders through DPS are not changing from processing to complete upon shipment. Non DPS orders work correctly. Both issues persist when we updated to the latest version which was released to resolve this issue.

@evolvit
Copy link
Author

evolvit commented Mar 5, 2014

This works as long as you turn compilation mode off. With compilation mode on it still has the same errors. I don't know if the patch actually fixes anything, but Fooman had a look and found that the compilation mode had errors, we disabled it and it worked.

@pauldowd
Copy link

pauldowd commented Mar 5, 2014

mine has always been disabled, so unfortunately doesn't work for me. Very frustrating. We're working on resolving it so I'll update once that is done, I'll provide the code we are using.

@fooman
Copy link
Owner

fooman commented Mar 5, 2014

Just to confirm on @evolvit's install the compilation mode did not correctly update the files which are in the compiled state (ie under includes/src) meaning the old code is used.

@pauldowd same reply really as to @evolvit before - currently we can't reproduce this which would allow us to see/fix the issue. Please provide as much information as you can for a single transaction so that we can try to replicate this.

@fooman fooman reopened this Mar 5, 2014
@glitch-nz
Copy link

I tried updating to magento 1.8.1 with MageBase_DpsPaymentExpress 1.5.10 stable - still not working...

Used "php shell/compiler.php clear" to ensure compilation mode was disabled and had no outdated files.

This time no invoice was generated, and order status was still set to payment pending.

Here is magebase_dps_pxpay.log...
2014-03-07T00:35:37+00:00 DEBUG (7): MageBaseDps successAction userid ----
2014-03-07T00:35:37+00:00 DEBUG (7): MageBaseDps successAction result v5OTZZC3Q4ArGerNOmDdcscUvOFWu-6RsWvY4iAErN3JobSiho06znNX4YkugVO2j282LFKts8m8zj8vwP7SuyEw5R3mSME4GlBxiPowe9mFiydixTECiDi-Gpt68m1mGpVtoj1Sj82lQ$
2014-03-07T00:35:37+00:00 DEBUG (7): 100014635 MageBaseDps User returned to Success Url

system.log - probably unrelated.
2014-03-07T00:23:11+00:00 ERR (3): Warning: apc_sma_info(): No APC SMA info available. Perhaps APC is disabled via apc.enabled? in lib/Zend/Cache/Backend/Apc.$

var/report
a:5:{i:0;s:45:"Unable to read response, or response is empty";i:1;s:1182:"#0 public_html/lib/Varien/Http/Client.php(61): Zend_Http_Client->request('GET')
#1 public_html/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(99): Varien_Http_Client->request('GET')
#2 public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_DashboardController->tunnelAction()
#3 public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('tunnel')
#4 public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#6 public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#7 public_html/index.php(87): Mage::run('default', 'store')
#8 {main}";s:3:"url";s:698:"/index.php/admin/dashboard/tunnel/key/d610ab5c7bfe0e44b7067f10d08473f8/?ga=YTo5OntzOjM6ImNodCI7czoyOiJsYyI7czozOiJjaGYiO3M6Mzk6ImJnLHMsZjRmNGY0fGMsbGcsOTAsZmZmZmZmLDAuMSxlZGVkZWQsMCI7$

@fooman
Copy link
Owner

fooman commented Mar 7, 2014

@glitch-nz your log does not show any entries like
DPS Response: Purchase OK - create Invoice
is your website publicly accessible? DPS sends a notification to your site which triggers the update to processing and creating the invoice. Please check your webserver's access log for this attempt to connect. If this does not happen please check with DPS why the failproof notification is not sent.

Please also check your database in the magebasedps_debug table.

@glitch-nz
Copy link

@fooman my fault, had my nginx config set to redirect other ips to a maintenance page while I was testing. This must of been blocking the DPS notification. Working now, thanks for your time.

@fooman
Copy link
Owner

fooman commented Mar 12, 2014

@pauldowd any updates from you?

@fooman
Copy link
Owner

fooman commented Mar 18, 2014

Closing for now - please reopen if necessary.

@fooman fooman closed this as completed Mar 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants