Max Posted February 15, 2014 Report Posted February 15, 2014 Hi, A little Proof of Concept that duct tapes Blesta to the Omnipay payment processing library. Currently limited to making one-off payments with the following non-merchant gateways: Buckaroo GoCardless Mollie MultiSafepay Netaxept PayFast PaymentExpress PxPay SagePay Server WorldPay Requires a recent PHP version (with namespace support and such), and is experimental. May or may not work correctly with offline payments (e.g. manual bank transfers which some gateways offer), and uncleared payments that need manual approval (anti-fraud functionality of some gateways). http://downloads.noc-ps.com/Omnipay-Blesta-Module-1.zip Quote
Michael Posted February 15, 2014 Report Posted February 15, 2014 Great thanks, I would love to use it GoCardless, however you've stated it's just for one off payments, so it means I can't use it yet. Quote
Max Posted February 16, 2014 Author Report Posted February 16, 2014 Great thanks, I would love to use it GoCardless, however you've stated it's just for one off payments, so it means I can't use it yet. Unfortuneately, recurring payments are a bit more complicated for non-merchant gateways. Besides that Omnipay hasn't implemented recurring payments for GoCardless, there are some more fundamental problems with using recurring payments for hosting purposes in general. With many gateways if you setup yearly recurring payments it will do exactly that: charge today and attempt to charge exactly a year from now. However if you are for example selling domain names it would be nice to charge today and a number of days earlier next year. So that if the next payment for whatever reason fails, you can still work out an alternative payment method with the client, without the risk of the domain expiring, or the risk of you paying renewal fees out of your own pocket for a domain the customer may or may not end up paying. Michael 1 Quote
Max Posted June 27, 2014 Author Report Posted June 27, 2014 Can you make VIrutalmerchant module? There is an unofficial Virtualmerchant driver for Omnipay on github. No idea if that one actually works though. If you would like to try it, in short you would need to: Extract the .zip file above to your Blesta installation. Copy the files from the following github repo: https://github.com/zburke/omnipay-virtualmerchant to /vendors/omnipay/virtualmerchant Create a file /components/gateways/nonmerchant/virtualmerchant/virtualmerchant.php with the following contents to make it known to Blesta: <?php require_once(__DIR__."/../../lib/omnipay_nonmerchant_gateway.php"); class Virtualmerchant extends OmnipayNonmerchantGateway { protected $gwname = "VirtualMerchant"; } Backup your existing installation first. Michael 1 Quote
cas Posted January 27, 2015 Report Posted January 27, 2015 Hi Max, Are you still willing to update this script? I really need a Mollie gateway, but it seems like this one doesn't works anymore (v3.4.0). Thanks! Quote
Max Posted January 27, 2015 Author Report Posted January 27, 2015 this one doesn't works anymore (v3.4.0) Is the smoke coming out of the module black or white? Or could you be a tiny bit more specific, than "doesn't work"? Nelsa and Michael 2 Quote
arvalaan Posted March 9, 2015 Report Posted March 9, 2015 Hey there, After configuring Mollie, it seems that the payment methods are not popping up. It simply states "Mollie" as payment method, instead of the various enabled payment methods, such as iDeal/PayPal. (http://d.pr/i/1lCzh) If you select "Mollie" the payment fails. Below is a screenshot of what's logged in the Blesta Logging. http://d.pr/i/11Fm0 Quote
Max Posted March 31, 2015 Author Report Posted March 31, 2015 Hey there, After configuring Mollie, it seems that the payment methods are not popping up. It simply states "Mollie" as payment method, instead of the various enabled payment methods, such as iDeal/PayPal. (http://d.pr/i/1lCzh) That is normal. Blesta only supports a single entry per module, so cannot have more options on that particular page. If you select "Mollie" the payment fails. Below is a screenshot of what's logged in the Blesta Logging. http://d.pr/i/11Fm0 Seems to be a known bug in the Omnipay Mollie module. Can you check if making the following change fixes that: https://github.com/thephpleague/omnipay-mollie/pull/14/files ? Quote
MDHMatt Posted September 22, 2015 Report Posted September 22, 2015 hi probably being stupid but how would install this? i'm thinking of using SagePay to do my accounts and would be great to integrate with blesta and this looks pretty decent way of doing it. Currently use Paypal but think this would be better cheers Quote
Max Posted September 22, 2015 Author Report Posted September 22, 2015 1) Unzip the files to your Blesta folder 2) Activate and configure the gateway in the Blesta admin settings like any other gateway. Quote
MDHMatt Posted September 22, 2015 Report Posted September 22, 2015 1) Unzip the files to your Blesta folder 2) Activate and configure the gateway in the Blesta admin settings like any other gateway. yep thought it might have been as easy as that, no harm in checking tho cheers! Quote
ESS Posted July 10, 2017 Report Posted July 10, 2017 Hello, to anyone who can make a button under the payment option on the order page i will pay for it. I want to add e-junkie i need a button under the payment option with written "pay from e-junkie" thanks Quote
SamP Posted June 27, 2019 Report Posted June 27, 2019 I am trying to install this (first time ever installing a gateway/plugin/module etc). I know it says the following above: 1) Unzip the files to your Blesta folder 2) Activate and configure the gateway in the Blesta admin settings like any other gateway. BUT to be sure - I place the contents of the Zip file ('Omnipay-Blesta-Module-1' folder [containing components and vendors sub folders]) into the root of the blesta folder then do what exactly??? Thanks in advance for mu dummy question. czizou 1 Quote
Amit Kumar Mishra Posted June 27, 2019 Report Posted June 27, 2019 2 hours ago, SamP said: I am trying to install this (first time ever installing a gateway/plugin/module etc). I know it says the following above: 1) Unzip the files to your Blesta folder 2) Activate and configure the gateway in the Blesta admin settings like any other gateway. BUT to be sure - I place the contents of the Zip file ('Omnipay-Blesta-Module-1' folder [containing components and vendors sub folders]) into the root of the blesta folder then do what exactly??? Thanks in advance for mu dummy question. you have to unzip the files copy the folder to the location blesta-install-directory/components/gateway/(then most probably non-merchant folder) then go to the admin-dashboard and check it in the non-merchant gateway and do the needful do thanks me if this works... czizou 1 Quote
SamP Posted June 29, 2019 Report Posted June 29, 2019 On 6/27/2019 at 7:18 PM, Amit Kumar Mishra said: you have to unzip the files copy the folder to the location blesta-install-directory/components/gateway/(then most probably non-merchant folder) then go to the admin-dashboard and check it in the non-merchant gateway and do the needful do thanks me if this works... Hi. These steps are not working unfortunately. After coping the Omnipay-Blesta-Module-1' folder to the non-merchant gateway folder - no additional gateways show in settings. Quote
Amit Kumar Mishra Posted June 29, 2019 Report Posted June 29, 2019 enable error reporting then let me know here what error you get Quote
Tyson Posted July 1, 2019 Report Posted July 1, 2019 You don't want to upload the "Omnipay-Blesta-Module-1" folder to the server. You want to upload its contents. That folder should contain two folders: "components" and "vendors". Upload those to the Blesta web directory on your server. There should already be a "components" and "vendors" directory in Blesta's web directory, and the folders will be merged when you upload them. Then, you should have the gateways listed in Blesta. Amit Kumar Mishra and SamP 2 Quote
SamP Posted July 2, 2019 Report Posted July 2, 2019 Hi Tyson, I followed your instructions and merged the contents of the compnents and vendores folders. Now Blesta does not load - I get a 500 error. Any idea how to fix this please? The error log shows: [02-Jul-2019 10:34:14 UTC] PHP Fatal error: Uncaught Error: Class 'Minphp\Container\Container' not found in /home/exampledomain.com/lib/init.php:13 Stack trace: #0 /home/exampledomain.com/index.php(17): include() #1 {main} thrown in /home/exampledomain.com/lib/init.php on line 13 Quote
SamP Posted July 2, 2019 Report Posted July 2, 2019 2 minutes ago, Amit Kumar Mishra said: which php version? Hi Amit. PHP 7.3 and Blesta 4.6. Quote
Amit Kumar Mishra Posted July 2, 2019 Report Posted July 2, 2019 2 hours ago, SamP said: Hi Amit. PHP 7.3 and Blesta 4.6. hi it seems like its php version specific issue, let the developer look into Quote
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.