We´ve had a webshop up and running now for a client for about 2 mounts.
A lot of orders is going trough everyday and the client is making good money.
But, we have a few orders thats not going trough all the way. At first we thought it was something wrong from the customer, but now its happend 4 times and we´ve started to look in to the logs.
So, the customer gets redirected to Payex and the status on his/her order gets "Initilized" in TeaCommerce. Then, the customer pays and everything looks fine from Payex, and the money gets withdraw from the customers card. But, when the customer gets redirected back to the webshop, he gets redirected to the "Failed Payment" page. In TeaCommerce, the order is still just "Initilized" eventhough the customer has payed.
Looking in the logs, exacly the same time as the order fails, this gets logged:
2015-02-10 06:55:31,136 [7] INFO umbraco.BusinessLogic.Log - [Thread
35] Redirected log call (please use Umbraco.Core.Logging.LogHelper
instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 |
NodeId: -1 | Comment: PayEx(SHOP-40782) - Process callback -
Exception: System.NullReferenceException: Object reference not set to
an instance of an object. at
TeaCommerce.PaymentProviders.Classic.PayEx.ProcessCallback(Order
order, HttpRequest request, IDictionary`2 settings)
No confirmation-email gets sent, but looking in Payex, everthing lookes fine.
Orders not being finalized. PAYEX.
Hi.
We´ve had a webshop up and running now for a client for about 2 mounts. A lot of orders is going trough everyday and the client is making good money.
But, we have a few orders thats not going trough all the way. At first we thought it was something wrong from the customer, but now its happend 4 times and we´ve started to look in to the logs.
So, the customer gets redirected to Payex and the status on his/her order gets "Initilized" in TeaCommerce. Then, the customer pays and everything looks fine from Payex, and the money gets withdraw from the customers card. But, when the customer gets redirected back to the webshop, he gets redirected to the "Failed Payment" page. In TeaCommerce, the order is still just "Initilized" eventhough the customer has payed.
Looking in the logs, exacly the same time as the order fails, this gets logged:
No confirmation-email gets sent, but looking in Payex, everthing lookes fine.
Thank you in advance!
Hi Dennis
Have you tried to download the source code of the payment providers and see if you might can see what could be null in your case? Else download the source and build the right version for your project and maybe add more logging info or the pdb files for a line number.
https://github.com/TeaCommerce/Payment-providers/blob/master/Source/TeaCommerce.PaymentProviders/Classic/PayEx.cs
Kind regards
Anders
is working on a reply...