BrockleyJohn Posted September 17, 2016 Share Posted September 17, 2016 I am uploading to the addons area a version of the standard Worldpay Hosted Payments module with a couple of small improvements that improve the shopper experience and make shop admin easier. The enhancements lie in the processing of shopper responses and payment messages, so that: when the transaction is cancelled in Worldpay, the shopper is transferred back to the checkout payment page in osc, to complete the purchase in another way when the transaction is authorised, the payment message is decoded and fraud checking results are added to the order status history. This saves logging into Worldpay to check each transaction before fulfilling the order. Example of fraud checking info: CVV: Matched Postcode: Matched Address: Matched Country match: Matched 3D secure: Authenticated Link to the addon to follow once uploaded. Github users with stores based on osc 2.3.4BS Edge can get the modified code in this branch: https://github.com/BrockleyJohn/Responsive-osCommerce/tree/worldpay_payments_extended Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
BrockleyJohn Posted September 17, 2016 Author Share Posted September 17, 2016 Here in the addons section: http://addons.oscommerce.com/info/9502 Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
BrockleyJohn Posted January 23, 2018 Author Share Posted January 23, 2018 I have just uploaded a new version, with an additional configuration option: Transaction description This description gets shown on the hosted payments pages at Worldpay and in the emails sent by Worldpay to the shopper and the contact set up in your Worldpay account. The option allows you to set this description to a list of the products bought (the new default) instead of the store name which is already shown on the pages and emails. Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
mhsuffolk Posted February 25, 2018 Share Posted February 25, 2018 I have installed this to replace an old version, it works fine but I cannot find where to alter the transaction description parameter, it does not appear in the admin section of the module. I would like to see what customers have ordered in the Worldpay email that I receive. Martin Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted February 25, 2018 Author Share Posted February 25, 2018 3 hours ago, mhsuffolk said: I have installed this to replace an old version, it works fine but I cannot find where to alter the transaction description parameter, it does not appear in the admin section of the module. I would like to see what customers have ordered in the Worldpay email that I receive. Martin @mhsuffolk sorry Martin - my fault (missed out the new file - doh!) - just overwrite the module file. Check the config but I think it defaults to showing the products. Fixed whole package being uploaded too. rbsworldpay_hosted.php Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
mhsuffolk Posted February 25, 2018 Share Posted February 25, 2018 Thanks John, works perfectly now. Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted May 27, 2018 Author Share Posted May 27, 2018 New version of the addon uploaded - it's a bug fix and everyone should apply it. If you have the previous version installed, there's just one file to upload catalog/ext/modules/payment/rbsworldpay/hosted_callback.php and I attach it here to save you time. hosted_callback.php Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
zefeena Posted May 27, 2018 Share Posted May 27, 2018 Hi John, I copied the file from the newest install and it works okay, and seems to update the basket on a completed order. However, I have discovered if once I reach the payment page I press cancel, the order is still logged. This is not a major issue as I can simply check to see if payment actually was rec'd and cancel an order if it hasn't, but wondered why this was happening. thanks Kellie Quote Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted May 27, 2018 Author Share Posted May 27, 2018 What you should happen is that if a buyer presses cancel within Worldpay (assuming they're able to work out that you have to click on the little cross instead of the word cancel) it should take them back to the store (via the hosted_callback page which refreshes and forwards after 3 seconds) to the checkout_payment page, which deletes the order and puts the products back into the basket. If someone goes off to worldpay but then just goes away (or their phone battery dies or...) then you are left with an order in the Preparing status (just like with Paypal). So usually this means it's an order to cancel. On extremely rare occasions you may find that someone's battery died at the instant between paying and coming back to your site, so that their order is still Preparing - but in this case you will still get the email from Worldpay telling you that they paid. If you think your customers are particularly impatient you can reduce the refresh delay so they don't click away before being sent back to the site. Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
zefeena Posted June 6, 2018 Share Posted June 6, 2018 Hi, I'm still having issues with this world pay module. When a customer orders it logs an order at my side, which I see, and process, and update as normal. (the cancel thing is still an issue but I simply check to make sure they paid - bit of a pain, but not the end of the world). What I have recently discovered is that it isn't logging an order for the customer. so The basket does not empty, the stock does not reduce, and the customer order history shows as NO order made - even though I see an order logged at my side. Any solutions? thank you Kellie Quote Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted June 6, 2018 Author Share Posted June 6, 2018 Your customer is not coming back to the store via the callback. The most likely explanation is that you don't have the correct settings in the worldpay account. Check this in the documentation pdf that came with the addon and which is also available here: https://library.oscommerce.com/Package&en&worldpay&oscom23&hosted Make sure all the response (payment and shopper) settings are correct Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
zefeena Posted June 6, 2018 Share Posted June 6, 2018 Thank you. I think I may have had some errors in that, so hopefully my corrections will make things work properly now Quote Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
zefeena Posted June 27, 2018 Share Posted June 27, 2018 (edited) Hi, Basket is still not emptying. I am wondering if my Worldpay module is perhaps out of date. Can you provide a link to the most current one, so I can compare the files, and take a look at my settings to see if they are correct or erroneous. Thank you Edited June 27, 2018 by zefeena typo Quote Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help. Link to comment Share on other sites More sharing options...
mhsuffolk Posted June 28, 2018 Share Posted June 28, 2018 On my setup it is the same as yours with these exceptions. The Shopper redirect field should be empty You should have an email address in the Payment Response failure email address field Be aware that occasionally I have instances of the cart not emptying but the payment completing OK. If non of the entries in the list has a green tick then that has probably happened. Martin Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted June 28, 2018 Author Share Posted June 28, 2018 @zefeena the latest code is here https://apps.oscommerce.com/brAIY You also have a problem in your settings. Clear the Shopper Redirect settings highlighted - that could be sending people straight to your checkout success page and preventing order being finished off. You need to keep the payment response settings, though. zefeena 1 Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
mhsuffolk Posted June 28, 2018 Share Posted June 28, 2018 Snap! Wot he said as well Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
BrockleyJohn Posted June 25, 2019 Author Share Posted June 25, 2019 I've just uploaded a new version of the addon, removing the use of the each command which is deprecated on php7.2 There's one file updated - the payment module. Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.