Functions PHP Needed to be Modified to work with Verotel Flexpay (Again)
-
Hello,
I have been using this plugin for about 8 months now, it is invaluable to my and I thank you for creating it, I have zero code knowledge, only possess common sense so I can make sense of some things if I study it… I posted the review on the plugin earlier, I noticed the issue recently of the settings page not appearing, and since updated to the new 1.2 version.
Luckily I also kept the previous version in case it was broken since originally I actually had to modify your code to get it to work.
A few things of note, I would love to help you bring this further up to speed and fix some bugs and add a couple things that are needed in your Functions.PHP:
One: Once again this plugin despite having Verotel selected in the settings page seems to attempt to point to Cardbilling, or the Wrong servers on checkout, Verotel (At least my FlexPay account) does not know what to do with it. I have fixed this by updating the PHP to point to the correct verotel checkout servers.
Two: This plugin does NOT support multiple currencies, and thus leaves out a ton of Verotels payment methods such as SOFORT bank account direct debit options (Verotel requires the checkout currency to be in Euro for this), you guys seem to do this by setting a forced default USD as the checkout currency without actually querying the current shops currency. I have also fixed this and now it processes in the current ‘Order_Currency’.
Three: You have your ’empty cart’ code way way too early, this means even if you have a failed transaction, the cart has already been emptied well before the Verotel transaction is ever completed or more importantly Failed, meaning the customer has to add the product again to have another go at payment, I have moved this far later in the code in the PHP and now products stay in the cart until the transaction is actually successful.
Four: I have changed your ‘Update_Status’ from ‘On Hold’ to ‘Pending’ in the update_status section early in the code, I cant remember why I did this previously, but I think I was getting lots of false positive emails, or I was seeing lots of ‘On Hold’ orders in my Orders page that were never completed by customers or abandoned (Failed Credit Card etc) and they hang around for eternity until I deleted them, whereas Pending has an actual time out at a later time and then actually cancels if there is no payment within a few hours.
I also would like to see the after checkout page link to the ‘My Order’ page of that particular current order, in my case I sell online videos, and I have had to manually delete your My Account code and add in the manual link for the My Orders page so at least customers can very quickly access the download link for a recent order rather than hunting through the My Account page. It reduces the amount of clicks and searching neccessary to view the actual Order Information page for the order they just paid for. IS there a way you guys can have a link after successful checkout which takes you directly to the order page for the order that was just created? Using ORDER_ID or something? I cant work this out myself so I had to just force a link to the My Orders page on my server.
I would LOVE to share this updated Functions.PHP code with you, so you guys can have a look and update it for others to take advantage of.
Please email me at [email removed] and I can share it with you, I would have sent this in an email but I couldn’t find any contact info at all, so I posted here.
[Moderator note: please do not post email addresses in the forum]
Thanks,
Matthew.
- The topic ‘Functions PHP Needed to be Modified to work with Verotel Flexpay (Again)’ is closed to new replies.