I use wooCommerce theme and this my working redirect after checkout per product code : Now i want code working for multiple products like : Any help with this to apply for multiple products please. Answer The easiest way to achieve this with as little modification to your working code as possible would be to …
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…
How to handle multiple environments: dev, staging and production with paypal webhooks?
I would like to have three environments, where I can test and use paypal webhooks. My current approach is to create new webhook for every environment in paypal developer portal and when request …
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…
Magento Custom Payment Method: how to get data that was set via Mage_Payment_Model_Method_Abstract::assignData()?
I’m currently developing a payment method and things are working quite well. Just one thing: The customer enters some information along the payment method and through debugging I can see that it gets written into the InfoInstance via Mage_Payment_Model_Method_Abstract::assignData() Unfortunately, I can&…