New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
G2APAY order status doesnt forward to complete #3353
Comments
@chris-wm maby you know the answer ? |
@sterrek Hi, the order status is updated by the IPN so the most likely cause is that the IPN URL is not set-up correctly in G2A Pay. You can check that the IPN is going through successfully by enabling debugging in the G2A module and then checking for the debug code "token success" in g2apay.log in the log folder, |
@chris-wm i see this: |
@sterrek Hi, can you tell me if there is anything in the history for the order, possibly the status has been updated more than once, to completed and back again to pending. Can you also update the following file catalog\controller\payment\g2apay.php with the one https://drive.google.com/file/d/0B0thHgBjXmj_eU5kZDlzNnIxMDg/view?usp=sharing, try again and tell me what appears in your log, |
@chris-wm i did what you said. now i still doesnt work. Log files ) 2015-09-28 20:07:03 - Origin: ControllerPaymentG2APay::ipn |
@sterrek were you able to check the order history to see if the status had been changed at any point? |
@chris-wm it did not changed anything only to pending |
@sterrek I have updated the file with more debug, can you try again and post me the results, |
@chris-wm i just get a white page right now. when i want to checkout with g2apay |
@sterrek Can you download the file again and upload once more, I have only made changes to the response code so it should not affect the checkout page. Are there any errors in your log? |
@chris-wm i left my api clear only for this page. so that not everybody can see it. but i still not forwarding to complete. btw thank you for helping ! 2015-09-30 18:07:35 - Origin: ControllerPaymentG2APay::checkout
) 2015-09-30 18:07:35 - Origin: ControllerPaymentG2APay::checkout 2015-09-30 18:08:33 - Origin: ControllerPaymentG2APay::ipn |
@sterrek Hi, can you ask G2A if they have something different for the string before it is hashed for that specific order number IPN. The problem is that the hash they send does not match the one calculated by the module for security purposes, the info they might need is
|
@chris-wm Thank you. i pasted this problem the g2a im still waiting on the answer of G2A IT department. But they are really slow in answering. |
@chris-wm Hi, this was there response today. We are still waiting for respond from IT team, please check if you calculate hash from those variablles: {transactionId}{userOrderId}{amount}{ApiSecret} |
@chris-wm hi they told me this. Could you may look at this: strange, i dont know if this is new/ updated by g2a or what but it seems like the required fields id, url and price for the products are missing in the call. Iv'e edited:
From the controller an changed it to:
Seemes to get rid of the error anyway, someone feel free to tell me if im wrong. Thanks |
@sterrek Hi, we actually received an email yesterday from G2A telling us that they wished to update their OpenCart gateway, it appears that they have updated their payment system so that the current OpenCart implementation is incompatible. They sent me a patch that looks similar to yours but with a few extra bits, I cannot vouch for it's quality but we will be releasing a bug fix version of OpenCart with the official release at some point soon. You can find the patch they sent me here https://drive.google.com/file/d/0B0thHgBjXmj_cUZSeGU1VU9JRHM/view?usp=sharing, |
was there any update on this? I have the latest code you posted but the status is still not getting updated correctly. Debug said: 2015-10-25 11:49:26 - Origin: ControllerPaymentG2APay::ipn |
@craigbaines hi, I just got a messages from g2a. Kind regards. |
Ok thanks, still have issues here so that would be appreciated. |
The patch for the updated G2A API was added in the following commit 8131e2f and will be included in the next release of OpenCart |
Hi,
I use opencart 2.0.3.1 with g2apay
But when i get a order it does not forward from pending to complete.
When i go to g2apay merchent page i see there that the order is complete.
i added some pictures of my settings.
I hope somebody knows a fix or see what i did wrong.
Kind regards
The text was updated successfully, but these errors were encountered: