Greetings community. I am finishing a virtual store and I am integrating the payment gateway to the store. The payment gateway is Redsys, I have already integrated and processed payments and everything has gone well, I have tried several times and it is fine. Now the problem I have is that when I go to the payment gateway to enter the card data, an amount appears that is not the one in my shopping cart, I will attach two images showing what is happening to me.
This is the image of my shopping cart summary:
And this is already in the payment gateway:
As you can see, the total amount is not the same, the one in my cart is 225 and the payment gateway shows 2.25. I really don't know how to fix this. If anyone has knowledge about this I would greatly appreciate the help, I clarify that I still have all this in test mode.
If you check the documentation you will find the following:
The last two positions are considered decimals, so for a value of 225, 22500 must be sent, that is, always add the decimals, but without the comma or period.