Skip to content

Tag: payment

How to add payment fee to cart in Prestashop?

I want to add payment fee to cart with a product created for payment fees. But when i add to cart the product for fee then i use $cart->getOrderTotal(), it doesn’t show the real price with fee. It shows the order total as product price without fee. I use SpecificPrice class for this action. And i thi…

Sha-out sign not matching in Ogone

I’m trying to make a payment plugin for my webshop for Ogone ideal payments. I can make a payment, but when I return I cannot get the SHA-signs to match. I have the following get request on return: According to the documentation, I have to order the keys alphabetically and only hash those that are allow…