Payment gatewayWe are using Authorize.net SDK for the payment gateway process and when the payment gateway service goes down then it will take down the site instance and getting 525 errors.If anyone using the authorize.net gateway. So how we can handle the downtime?
For shipment providers, we are using FedEx web service and FedEx service goes down some time and affects the site same as above payment gateway service.
Note: We are using a DXP server.
How we can generally handle this type of 3rd party service downtime that will not affect the site load?
Is anyone using any real-time API to get the status of API's FedEx and authorize.net?
Are you implementing a standard EPiServer payment gateway?
Payment gateways | Optimizely Developer Community
An error in a payment gateway should not bring down the site. Maybe send a code sample from your gateway?
Thanks for the reply Johnny Mullaney,
Actually, we got a 524 error page.
I found out some additional points
1.The shipping methods are loaded in page load, not ajax call.2.Due to slow page load time I think the 524 error is occurring. (only some site users are facing this error page)
Yes, we inherit Episerver "AbstractPaymentGateway" and implemented the process payment function and using the Authorize.net package.What is the general reason for getting 524 errors and how to resolve that ? Any idea?
DXP will throw a 524 Timeout on requests that take more than 100 seconds.
An EPiServer Payment Gateway or Shipping Provider won't cause this on it's own. The issue seems to lie in the implementation of said classes.
Hi Johnny Mullaney,
Really thanks for your reply,
This 524 occurs when FedEx web service goes outage/slow response.
Locally we unable reproduce the issue. I think this will only occur FedEx service goes down and multiple users accessing the site.