Jump to content

Issue fetching FAB bank balance for payment confirmation in PrestaShop


Fanlore

Recommended Posts

Hi everyone,

I am running a PrestaShop store and recently tried to integrate a custom payment flow that depends on checking account balance from First Abu Dhabi Bank before confirming certain high value orders.

The problem I am facing is that the balance inquiry part is not returning consistent results. Sometimes it shows an outdated balance and other times it just fails silently without throwing a clear error. This is causing orders to go through when they should not, or get stuck in pending even when funds are available.

I am not using a paid module for this, just a custom implementation using FAB’s API along with a small helper module I wrote to hook into order validation. Everything else in the checkout flow works fine, including payment callbacks, but this balance check step is unreliable.

Has anyone here worked with FAB APIs or built something similar where external balance verification is needed before order confirmation? I am trying to understand if this is a timing issue, caching problem, or something related to how PrestaShop handles external requests during checkout.

Any guidance or similar experiences would really help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...