View Full Version : Plimus Gateway
We were developing Plimus gateway for payments.
Since Plimus does not have any API, what we have gone smartly through the system and since plimus allows price override feature for a particular contract id it was a success! Now clients can easily pay via Plimus! Thats another gateway for whmcs.
From my expereince I would like to say the creating a custom payment gateway for WHMCS is very simple as the pdf manual says.
In this way whmcs can support almost any gatewa, even if it just has POST, GET functions!
Thanks WHMCS! Your product is amazing,
We still use a competitor's cart, and have trail of WHMCS.
We will surely move to whmcs once they release whoiscart import script!
Awesome!
restinpieces
03-01-07, 09:59 AM
can you please be more specific?
does one of the betas have plimus implemented?
as i see from the supported gateways list, plimus is not listed.
Regards
cpoalmighty
09-12-09, 12:42 AM
I would also like to see this gateway!!!!!
why every body who recommend some thing in this forum has only one post or a few?:roll:
cpoalmighty
09-12-09, 03:38 AM
I only joined this forum the other day (well maybe a month or two) so i do not have that many posts. I am mostly on WHT :)
tommyinnn
09-25-09, 02:57 PM
I've made a Plimus Gateway file, it's working great but I haven't gotten the callback file to work yet, so I figured I'd post my code hoping someone could help..
Here's what it does ...
- passes all the customers information (ie. name, address, city, email, company name, etc.) to the first Plimus checkout page, this allows the customer to only have to enter their credit card or payment details. If you have email piping set up, once the payment is made, it will open a trouble ticket up so the ADMIN can complete the order.
This is how I did it..
1. I set up 2 contracts in Plimus, one for single payments, the second for recurring subscriptions. You can set your contracts up however you like, but there are a few area you have to check.
- on the general tab of each contract you create, make sure the drop down option, "Allow Override Price: " is "Yes, plain text editor" - this allows the cost to be a variable, which will be passed from the WHMCS invoice.
- under the "custom fields" tab in each contract you create, add one titled "invoiceid", hidden field .. min. length 1 - although my code works without it, it would be needed once I can get the callback file to work.
2. Download the file plimus.php ( http://sitecreatorz.com/plimus_gateway.rar ) to modules/gateways. you can also upload the plimus_gateway.php file if you want to help me work on getting it working to activate accounts.
here is the IPN url I've been working on
/modules/gateways/plimus_callback.php?amount=contractPrice&referenceNumber=referenceNumber&transactionType=transactionType&Additional Charges=Additional_Charges&custom1=invoiceid
- open the file plimus.php - line 49 and 51 - find the contractId= & enter the contract ID's of the contracts you created in Plimus.
- Also on line 49, you can enter the path for the logo if you want
3. Login to your WHMCS and activate Plimus.
4. You should also set up a page customers will be directed to after payment - you can pass variables to that page also - which is how I set up my email pipe... I used php mail on my plimus_complete.php page so it opens a ticket to notify me I need to set this new account up.
- this is very basic, it could use a lot of TLC but it does work - and although Plimus does cost a little more - OK a lot more, they do have a nice system the way you can customize the payment pages - it can give the impression the customer never leaves your website to make a payment. I've dealt with Plimus for about a year, they pay every 30 days (on the 15th for me), via PpayPal, bank account, or check. - they don't have any sign up fees & work in countries PayPal does not. They can never touch Paypal, they are the KINGS by far, but they are a great alternative.
I vote for this. Plimus is very good for those that do not have paypal accounts and still want to offer paypal as a payment option to their customers.
I've made a Plimus Gateway file, it's working great but I haven't gotten the callback file to work yet, so I figured I'd post my code hoping someone could help..
Here's what it does ...
- passes all the customers information (ie. name, address, city, email, company name, etc.) to the first Plimus checkout page, this allows the customer to only have to enter their credit card or payment details. If you have email piping set up, once the payment is made, it will open a trouble ticket up so the ADMIN can complete the order.
This is how I did it..
1. I set up 2 contracts in Plimus, one for single payments, the second for recurring subscriptions. You can set your contracts up however you like, but there are a few area you have to check.
- on the general tab of each contract you create, make sure the drop down option, "Allow Override Price: " is "Yes, plain text editor" - this allows the cost to be a variable, which will be passed from the WHMCS invoice.
- under the "custom fields" tab in each contract you create, add one titled "invoiceid", hidden field .. min. length 1 - although my code works without it, it would be needed once I can get the callback file to work.
2. Download the file plimus.php ( http://sitecreatorz.com/plimus_gateway.rar ) to modules/gateways. you can also upload the plimus_gateway.php file if you want to help me work on getting it working to activate accounts.
here is the IPN url I've been working on
/modules/gateways/plimus_callback.php?amount=contractPrice&referenceNumber=referenceNumber&transactionType=transactionType&Additional Charges=Additional_Charges&custom1=invoiceid
- open the file plimus.php - line 49 and 51 - find the contractId= & enter the contract ID's of the contracts you created in Plimus.
- Also on line 49, you can enter the path for the logo if you want
3. Login to your WHMCS and activate Plimus.
.
Hello Tommy, need help about plimus gateway setup ....
I've upload the plimus.php to modules/gateway, when i go to WHMCS backend, there is still no Plimus gateway option available .... i also upload plimus_gateway folder into modules/gateway but still cannot make it available at backend. please help me.
Hello tommyinnn
thanks for your sharing
what the version that plimus getaway support ?
i found this offer in digitalpoint
http://forums.digitalpoint.com/showthread.php?p=12673952#post12673952
plimus getaway with 25$
i talk with him in msn and hey has the getaway in his whmcs and works fine
tommyinnn
10-17-09, 01:18 PM
hmmm, not sure what the problem is, I've attached a screen shot of my admin.... are you sure you uploaded the plimus.php file to modules/gatewayes folder?
I know that callback file (plimus_callback.php) file has to be edited so it connects to the database, try leaving that out for now, I did have problems with it
thanks for the link Bandr, I had already seen that but wanted to do this on my own to help me learn a little!!
Derekfattal
10-18-09, 10:52 AM
Hi there (Tommyinn),
I am from Plimus and would like to invite you to add this post to our Community Forum at http://home.plimus.com/ecommerce/forums/discussions/e-business-and-e-commerce-general-discussion
I think there are a fair number of people who would be in interested in this.
Many thanks,
Derek, Plimus
@tommyinnn
Rename the callback file to the same name as your gateway file and place it in modules/gateways/callback directory.
Also try to use $_REQUEST instead of $_POST where you can.
tommyinnn
10-18-09, 01:22 PM
Thanks Derefattl - yes, I did start a post in the Plimus forums, http://home.plimus.com/ecommerce/community/forum_topic/notification-email-question#comment-1085
Yes, I have had several people email me and ask me if I had completed this yet, Plimus is really underrated, they accept payments from countries that PayPal does not, plus they have more options, like mail in payments, via phone, etc..I used to use iHost, and had created a mod for Plimus but when I switched to WHMCS, I had to stop accepting Plimus payments... but the very same day (yesterday) I started accepting Plimus, I had got a new client that picked Plimus over PayPal so I kinda feel I may have lost that new client had I not offered Plimus.
They pay each month, either to your bank account or via PayPal, or they even offer a credit card they can put your money on- plus I have never had any problem at all with them - the way you can customize the payment pages, you can make it so the client doesn't even know they have left your website to make a payment - the only thing I wish they offered was daily, or even weekly payouts, but it is nice to get that big monthly payment also!
and thanks Sparky, you know, I did notice yesterday I had put the callback file in the incorrect folder, but I did not have it named plimus.php - it was named plimus_callback.php - I have since corrected this but still can't get it to work :(
I did upload a couple screen shots, first is what my current Plimus invoice looks like, (like my buttons?)
second is my screwed up code, and here is what my call back link looks like
http://mysite.com/clients/modules/gateways/callback/plimus.php?amount=contractPrice&referenceNumber=referenceNumber&transactionType=transactionType&Additional Charges=Additional_Charges&invoiceid=custom1
once I get this working I will create a package & download link (or update the current download) with the instructions, there are a few things in the plimus admin that need to be done, such as set up the custom field for the invoice number, and setting up the 2 product - for single and for recurring subscriptions.
danii20
10-18-09, 06:40 PM
pls help mee pls not runing checkout button
prewiew log
http://nextworldshells.net/a/poze/logo.JPG
pls help mee thank you
tommyinnn
10-18-09, 07:19 PM
Well, it does say your shopping cart is empty, and the price is $0.00 - I'm guessing the checkout button will work if there is something to checkout
hmmm, not sure what the problem is, I've attached a screen shot of my admin.... are you sure you uploaded the plimus.php file to modules/gatewayes folder?
I know that callback file (plimus_callback.php) file has to be edited so it connects to the database, try leaving that out for now, I did have problems with it
thanks for the link Bandr, I had already seen that but wanted to do this on my own to help me learn a little!!
yes tommy, i very sure and reupload again today .... do i need to change contract id before upload?
danii20
10-19-09, 05:08 PM
pls help mee
tommyinnn
10-19-09, 05:13 PM
not sure what to tell you.... you do know that some of the gateways in the drop down are not in alphabetical order, look through the list again.
danii20
10-19-09, 05:23 PM
So I installed the same package on another hosting and went perfectly on the hosting just does not want to go do not want Sami understand and calculate the products I show arrears 0 thousand Someone said it's the php.conf
yes, i've search 3 times ..... very wierd ... maybe i should try to reinstall WHM ..... last choice ... :(
danii20
10-20-09, 06:49 PM
I installed again and so does the do? I can give someone a php.conf I think it's the PHP configuration, I need one to one php.conf going WHMCS site
i've reinstall but still no luck .... maybe plimus dont like me .... :(
i think i know what is the problem ....
my whmcs is ver 3.6 .... i cannot upgrade my whmcs to latest version ... i always get maxmind fraud cancel my orders .....
danii20
10-24-09, 12:18 PM
who can help me to tell me as odd will make good on php.conf and data from phpinfo http://nextworldshells.net/a/php/ and zicetimi well as odd to be closed or be opened
i think i know what is the problem ....
my whmcs is ver 3.6 .... i cannot upgrade my whmcs to latest version ... i always get maxmind fraud cancel my orders .....
Maxmind blocks me as well. Just open a ticket explaining your situation. Worked for me :-)
cpoalmighty
11-10-09, 11:05 PM
did anyone ever get this plimus gateway to work? Is there a download?
cpoalmighty
11-11-09, 12:35 AM
I just cant seem to figure out this Plimus gateway thing. I signed up for an account but it seems as though i must place the actual code for the direct uy product in the code..how could this enable me to sell more than one product?
thecubehost
01-22-10, 08:30 PM
Hey,
For this gateway, do you have to manually enter in ALL your products on Plimus's end?
bluebirdnet
02-02-10, 01:33 AM
Thanks Derefattl - yes, I did start a post in the Plimus forums, http://home.plimus.com/ecommerce/community/forum_topic/notification-email-question#comment-1085
Yes, I have had several people email me and ask me if I had completed this yet, Plimus is really underrated, they accept payments from countries that PayPal does not, plus they have more options, like mail in payments, via phone, etc..I used to use iHost, and had created a mod for Plimus but when I switched to WHMCS, I had to stop accepting Plimus payments... but the very same day (yesterday) I started accepting Plimus, I had got a new client that picked Plimus over PayPal so I kinda feel I may have lost that new client had I not offered Plimus.
They pay each month, either to your bank account or via PayPal, or they even offer a credit card they can put your money on- plus I have never had any problem at all with them - the way you can customize the payment pages, you can make it so the client doesn't even know they have left your website to make a payment - the only thing I wish they offered was daily, or even weekly payouts, but it is nice to get that big monthly payment also!
and thanks Sparky, you know, I did notice yesterday I had put the callback file in the incorrect folder, but I did not have it named plimus.php - it was named plimus_callback.php - I have since corrected this but still can't get it to work :(
I did upload a couple screen shots, first is what my current Plimus invoice looks like, (like my buttons?)
second is my screwed up code, and here is what my call back link looks like
http://mysite.com/clients/modules/gateways/callback/plimus.php?amount=contractPrice&referenceNumber=referenceNumber&transactionType=transactionType&Additional Charges=Additional_Charges&invoiceid=custom1
once I get this working I will create a package & download link (or update the current download) with the instructions, there are a few things in the plimus admin that need to be done, such as set up the custom field for the invoice number, and setting up the 2 product - for single and for recurring subscriptions.
Hey Tommyinn have you been able to get the call back working ?
thanks
Callback works for me using the code below. If you use recurring payments you'll need to catch "RECURRING" in the if($status..).
<?php
# Required File Includes
include("../../../dbconnect.php");
include("../../../includes/functions.php");
include("../../../includes/gatewayfunctions.php");
include("../../../includes/invoicefunctions.php");
$gatewaymodule = "plimus"; # Enter your gateway module name here replacing template
$GATEWAY = getGatewayVariables($gatewaymodule);
if (!$GATEWAY["type"]) die("Module Not Activated"); # Checks gateway module is active before accepting callback
# Get Returned Variables
$status = $_POST["transactionType"];
$invoiceid = $_POST["invoiceid"];
$transid = $_POST["referenceNumber"];
$amount = $_POST["amount"];
if( $amount <= 4.99) $fee = 0.75;
if(($amount >= 5.00) && ($amount <= 8.99)) $fee = round(($amount*0.150),2);
if(($amount >= 9.00) && ($amount <= 49.99)) $fee = round(($amount*0.100),2);
if(($amount >= 50.00) && ($amount <= 59.99)) $fee = round(($amount*0.090),2);
if(($amount >= 60.00) && ($amount <= 79.99)) $fee = round(($amount*0.080),2);
if(($amount >= 80.00) && ($amount <= 99.99)) $fee = round(($amount*0.070),2);
if(($amount >= 100.00) && ($amount <= 139.99)) $fee = round(($amount*0.060),2);
if(($amount >= 140.00) && ($amount <= 279.99)) $fee = round(($amount*0.050),2);
if($amount >= 280.00) $fee = round(($amount*0.045),2);
$invoiceid = checkCbInvoiceID($invoiceid,$GATEWAY["name"]); # Checks invoice ID is a valid invoice number or ends processing
checkCbTransID($transid); # Checks transaction number isn't already in the database and ends processing if it does
if ($status=="CHARGE") {
# Successful
addInvoicePayment($invoiceid,$transid,$amount,$fee ,$gatewaymodule);
logTransaction($GATEWAY["name"],$_POST,"Successful");
} else {
# Unsuccessful
logTransaction($GATEWAY["name"],$_POST,"Unsuccessful");
}
?>
hideipvpn
03-02-10, 01:31 PM
Hi all,
recently Plimus suspended our account because of high rate of chargeback. They don't have any anti-fraud system, they accept payment from open Proxy IP and stolen credit cards.
Now they say that they can't unsuspend our account and hold our money for 3 moths.
Sorry to hear they suspended your account.
They do have an anti-fraud system though. They frequently make refunds to my customers telling me that the specific customer was going to end up in a charge-back according to their assessment. They occasionally deny customers that I believe to be legit, but I have a second processor for when that happens. So far my charge-back rate with Plimus is lower than on PayPal.
More worryingly, Plimus has recently started to "cancel" transactions without notice. This is annoying because such "cancel" makes their support area inaccessible to the customer (by saying the order doesn't exist at all) and I don't get notified. The customer often thinks they paid but can't verify this in Plimus nor in WHMCS, making us look like scammers.
chister
03-20-10, 03:34 PM
Hi niels
I tried to visit your page 123vpn but it's not working..
may you give me your e-mail? or send me at:
[email protected]
[email protected]
Thanks :)
My365Host
06-05-10, 03:42 PM
Any news on this module?
I would like to start using this gateway.
muzzamil
06-10-10, 08:54 AM
Hay i can,t access the Plimus Module in WHMCS admin panel.
I have have follwed the steps you tell and uploaded the files and then it Says Module is not Activated Yet tell me how to activate it.
All of the WHMCS developer says that there is no api calls (IPN or whatever you call it) not available from Plimus.
I would like you to request to please check - https://www.plimus.com/tutorials/Plimus-IPNGuide.pdf
It has all the required details to implement this into WHMCS.
I use WHMCS with Plimus and, while it works for me, they are correct that Plimus does not have a proper API.
Yes, Plimus sends IPN's, but that's after the order is completed. There is no way for WHMCS to create a proper order in the first place. Plimus only works with predefined products and there is no API for adding these products.
What some of us do is that we create 1 product in Plimus with a very generic name and then override the price every time we redirect someone to Plimus for payment. That's more a dirty hack than anything else though. For an official WHMCS plug-in to work that way would be unacceptable.
Plimus view on this is that they are not just a payment processor, but something of a broader e-commerce solution. They prefer you outsource the entire order handling to them. I a sense they overlap with WHMCS (they do invoices, forward support tickets, etc, etc.) This is their way to justify their relatively high rates. Hence they are not eager to provide an API.
fantasmaweb
01-13-11, 09:00 PM
niels, they also call phone our customers to verify the orders... for me, is a good payment processor.
Regards
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.