Jump to content
quality

WHMCS : PayPal Balance on Home Page : Nice Ajax effect

As this post is 2015 days old it has been closed to new responses, please open a new thread

Recommended Posts

Hi

 

Here is the easiest way to display your paypal balance on your whmcs admin panel

 

Screenshot : http://screencap.net/f/6062dd38.png

 

Installation Steps:

 

Download the rar file from HERE

 

There are several files in this archive

 

/admin

/admin/paypal.php

/admin/images/loadersmall.gif

/admin/templates/v4/header.tpl

/admin/templates/v4/homepage.tpl

 

Edit the file "paypal.php" and update it with your PayPal API Details

You can get this from PayPal -> Profile - > API Access -> View API Certificate

 

Upload all files to your Admin folder of WHMCS.

 

You're done!

 

Try it!

 

 

Thanks

Share this post


Link to post
Share on other sites

This is great, but how do I modify the code to display my Total balance AND/OR EUR not just USD.

 

Right now it says: "Current PayPal Balance $0.00 USD" :)

 

Thanks!

 

/E

Share this post


Link to post
Share on other sites

Hi

You can edit paypal.php and update it. You can change USD to EUR or something more suitable

Share this post


Link to post
Share on other sites
Hi

You can edit paypal.php and update it. You can change USD to EUR or something more suitable

 

Hmm, you didn't understand the problem.

 

It doesn't really matter what the text string is. I know that I can change that. That's the easy part.

 

The problem is that it's PULLING the USD ammount which is 0.00 in my account, but I DO HAVE Euros. So I want to change the currency that it's checking and pulling from the API from USD to EUR or "Total ammount converted to SEK".

 

/E

Share this post


Link to post
Share on other sites

Hi,

 

I am getting the following error:

 

GetBalance failed: Protocol https not supported or disabled in libcurl(1)

 

What could be the problem?

 

Thanks

Share this post


Link to post
Share on other sites
all i get is "Unable to get PayPal Balance"

 

It's working fine for me here, are you sure you have edit paypal.php with correct values?

Share this post


Link to post
Share on other sites

BTW just a suggestion to the author, though it's a good little tool, how can we restrict that only the main admin can view the balance not other staff members?

 

Also I have renamed paypal.php to paypal_balance.php and edited header.tpl accordingly, paypal.php is too generic.

Share this post


Link to post
Share on other sites
It's working fine for me here, are you sure you have edit paypal.php with correct values?

 

 

yes filled in all the API details as in my paypal account

Share this post


Link to post
Share on other sites

sorted.

 

but i changed "Current PayPal Balance $" to "Current PayPal Balance £" but all it shows in my admin area is a strange symbol

 

Current PayPal Balance �***.** GBP

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines