Giter Club home page Giter Club logo

whmcs-plugin's Introduction

Integration Requirements

Build Status

This version requires the following:

Installing the Plugin

  1. From your WHMCS business account, go to setup > payments > payment gateways

  2. On the next screen, click on the All Payment Gateways tab and click on BitPay Checkout to enable the plugin. The next step will be to configure it.

Plugin Configuration

After you have enabled the BitPay plugin, the configuration steps are:

  1. Create an API token from your BitPay merchant dashboard

    • Login to your BitPay merchant account and go to the API token settings
    • click on the Add new token button: indicate a token label (for instance: WHMCS), make sure "Require Authentication" is unchecked and click on the Add Token button
    • Copy the token value
  2. Log in to your WHMCS admin dashboard, go to System > Configuration > Payment Methods. This will give you access to the BitPay plugin settings:

    • Paste the token value into the appropriate field: Development Token for token copied from the sandbox environment (test.bitpay.com) and Production Token for token copied from the live environment (bitpay.com)
    • select the endpoint - Test or Production
    • Click Save Changes at the bottom of the page

This plugin also includes an IPN (Instant Payment Notification) endpoint that will update your WHMCS invoice status.

An order note will automatically be added with a link to the BitPay invoice to monitor the status:

  • Initially the WHMCS invoice will be in a Unpaid status when it is initially created.
  • After the invoice is paid by the user, it will change to a Payment Pending status.
  • When BitPay finalizes the transaction, it will change to a Paid status, and your order will be safe to ship, allow access to downloadable products, etc.
  • If you decide to refund a payment via your BitPay dashboard, the WHMCS invoice status will change to Refunded once the refund is executed.

whmcs-plugin's People

Contributors

gasteve avatar gaud2029 avatar ionux avatar jaafit avatar jameswalpole avatar joshuaestes avatar kleetus avatar marbman21 avatar philosodad avatar ppatidar2021 avatar thejoshualewis avatar turff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whmcs-plugin's Issues

404 error reporting in createinvoice.php

Hi,

anytime a user uses bitpay module or when we test this module anytime we go to createinvoice.php we get re-directed to a 404 error. Which is strange all other versions of this plug-in worked we checked our cloudflare nothing is blocking us. Any suggestions please?

Approved Volume Limit Exceeded error

Hello Folks,

we've been testing a newly added BitPay gateway to our WHMCS billing system that was configured as per GUIDE.md. At the end of a test process we've received "bitpay invoice error" message in a browser window and email from BitPay stating:
+++++++++++++++++++++++
Approved Volume Limit Exceeded
An invoice for $9.90 could not be created because its value exceeds your current approved volume of $0 per day. This invoice would have put you beyond your daily limit....
+++++++++++++++++++++++
We've checked our account settings with BitPay and saw that it is at Tier 0 with $100/day transactions allowance.

Anyone have an idea what's wrong here and how to approach this?

Thanks

WHMCS with Cloudflare SSL

Dear Support,

if I use the cloudflare SSL, I can't setup the correct link under whmcs settings.

WHMCS System URL has still to be http. -> Cloudflare is redirecting automatically all to https.
If I set the whmcs url to https, I always get the error too many redirects.

But if a customer now creates a invoice, he gets the following error:
[ERROR] In modules/gateways/bitpay/createinvoice.php: Invalid invoice id #0

I think this hang together with http & https

Hope to get help from your side.

WHMCS v7 Support?

Hi guys,

I know that an official Bitpay module for WHMCS v7.1 is in the making.

@pieterpoorthuis once mentioned in another issue that it's due for middle April.

Can we can a status update, please?

We'd love continuing Bitpay as our Bitcoin gateway with WHMCS.

Best wishes,

whmcs 7.1 known issue ?

I did some testing and I was able to pay an invoice using bitpay and whmcs 7.1.

I would like to know what are the known issues with this plugins when used with whmcs 7.1 exactly.

Invoice not showing as Paid

Received this from BitPay however WHMCS has not updated the invoice as Paid?

Read the docs, am I missing something?

A payment has been fully confirmed by the bitcoin network and applied to your BitPay account settlement.

related to WHMCS 6.1.1, HTTP 500 error in createinvoice.php

Solution provided by Eno Ennok

The problem was tiny actually. Need to change 1 Word in createinvoice.php and it fixed all issues for me.

originally is in this file code
include("../../../dbconnect.php");

but that should be changed to this:
include("../../../init.php");

and its working.

Marked payment as soon as receive a payment

Hi there,
We have a problem with Bit-pay. Unfortunately some of the payments takes hours to get confirmed and the module doesn't mark the payments paid till they get confirm however this became an issue for us. We do offer instant activation services and the current configuration is not working with our system so we either have to wait for few hours or accept the orders manually. Is it possible to change something or add a option to mark the payment as paid so our system deliver the product instantly?

It would be a big help for us.

Thanks

Error In Payment

I tried accepting a payment with the bitpay plugin (installed from github)
in WHMCS 7.
It fails with the following error:
[ERROR] In modules/gateways/bitpay/createinvoice.php: Invalid invoice id #0

i see this topic before:
#25
but my problem continued yet :(

i have SSL domain and my currency is EUR

payment fails with error Invalid invoice id #0

I tried accepting a payment with the bitpay plugin (installed from github)
in WHMCS 6.1.
It fails with the following error:
[ERROR] In modules/gateways/bitpay/createinvoice.php: Invalid invoice id #0

Any tips on how to fix the issue?

Content Security Policy Header WHMCS

Recently implemented "Content Security Policy Header" on our site which uses whmcs. After that client complaining they are unable to pay invoice. On invoice page showing "Please wait" after clicking make payment. and if we disable "Content Security Policy Header" Bitpay login iframe showing normally.

Please can you tell what "Content Security Policy Header" we need to set?

Overpayment issue with BitPay

Hi,

It seems that the BitPay module doesn't provide the correct amount to be paid during checkout. Because of this we had issues that customers paid too much.

Example:

  • Customer has an invoice of 100 EUR.
  • This invoice is partially paid, for example 20 EUR. So 80 EUR must be paid. (this can happen with overpayments and credits).
  • The client wants to pay the invoice using BitPay, but instead of 80 EUR, the BitPay checkout requests 100 EUR to be paid. Which is 20 EUR too much.

We only have this issue with the BitPay module. Other modules are working fine in this scenario.

Thanks!

whmcs integration

Hello,

i just install whmcs module but the following error page appears at the final payment page:

The address wasn't understood

Firefox doesn't know how to open this address, because one of the following protocols (bitcoin) isn't associated with any program or is not allowed in this context.
You might need to install other software to open this address.

any help?

thanks
Nick

Refunds through API

Is there any reason this module doesn't support refunds through the new Bitpay API?

Gateway is not updating the WHMCS Default Payment Method for a client

Hi guys,

The module is currently not updating the "Payment Method" field in the WHMCS client profile upon first payment. This is something that is common within many WHMCS payment gateways.

To be more specific, the 'defaultgateway' column should be set to 'bitpay' for the paying client in the tblClients table and it's currently empty, therefore it looks as follows on WHMCS: http://prntscr.com/do2lmi

Can you please fix this issue?

Many thanks,

.htaccess: order not allowed here

Internal server error after "pay now" is clicked.

modules/gateways/bit-pay/createinvoice.php

apache logs: .htaccess: order not allowed here

Currency is set to USD with conversion. Any ideas?

Bitcoin address not available, try again later

Upgraded to 7.5 WHMCS and get the below error when trying to pay invoice with bitpay

In modules/gateways/bitpay/createinvoice.php: Invoice error: array ( 'type' => 'addressUnavailable', 'message' => 'Bitcoin address not available, try again later', )

I was using whmcs 6.3 before the upgrade, I've also upgraded to the latest bitpay module

thanks

bad error reporting in createinvoice.php

line 115 of createinvoice.php :
die('[ERROR] In modules/gateways/bitpay/createinvoice.php: Invoice error: ' . var_export($invoice['error']['message'], true));

there is no 'message' key, the reported error is always just the first letter of the error message.

for example if you have this string in $invoice['error'] "Couldn't resolve test.bitpay.com' , you only get this error message returned:

[ERROR] In modules/gateways/bitpay/createinvoice.php: Invoice error: 'C'

Invoice Error 'S'

I am trying to setup the WHMCS Plugin with WHMCS 5.3.14

I created an Merchant Account with BitPay and copied the Legacy Key from BitPay to the plugin. My default currency setting in WHMCS is EUR.

When trying to pay for a bill - I get the following error:

[ERROR] In modules/gateways/bitpay/createinvoice.php: Invoice error: 'S'

Thank you in advance for your help.
Werner

[ERROR] In modules/gateways/btcpay/createinvoice.php: Invoice error: 'invalid json:

I just installed btc pay server and downloaded whmcs modules from https://github.com/btcpayserver/whmcs-plugin

I have uploaded the module in gateways and i added my api key and URI to your BTCPay server ( wich i am guesing is my btcserver.domain.com ? ) Is what i did, i placed an order on my whmcs portal and i got the following error

//modules/gateways/btcpay/createinvoice.php

[ERROR] In modules/gateways/btcpay/createinvoice.php: Invalid invoice id #0
[ERROR] In modules/gateways/btcpay/createinvoice.php: Invoice error: 'invalid json:
400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx
'
Any ideeas please?

Thank You

BitPay API v2 support

Hello, is your module supporting the newly announced API v2 that removes the legacy keys and replaces it with API tokens that is coming out at the start of May?

An error occurred loading the gateway

Hello,
We have an issue during set up this payment gateway. We have 2 different currencies in our whmcs - INR and USD. We have set Convert To For Processing: None, and the bitpay payment gateway not working, it's showing the error: An error occurred loading the gateway. We have changed the processing currency to USD, but still, the same issue remaining. Kindly help to resolve the issue.
Thank You!

v7 compatible?

I have v7 of WHMCS installed and uploaded the module to modules/gateways. But when i go to Setup-Payments-Payment Gateways i can't find the Bit-Pay module between the others. Is it compatible with v7?

Will not Connect to Mysqyl On WHMCS 6.0

can you verify this works with WHMCS 6.0 ?
I'm getting mysqyl errors when customers try to purchase using bitcoin.

I had no issues with WHMCS 5+

here's errors,

r: Class 'WHMCS\Invoice' not found in /home/hosting2/public_html/Client/includes/gatewayfunctions.php on line 0
[09-Jul-2015 00:19:20 UTC] PHP Warning: include(../../../dbconnect.php): failed to open stream: No such file or directory in /home/hosting2/public_html/Client/modules/gateways/bit-pay/createinvoice.php on line 2
[09-Jul-2015 00:19:20 UTC] PHP Warning: include(../../../dbconnect.php): failed to open stream: No such file or directory in /home/hosting2/public_html/Client/modules/gateways/bit-pay/createinvoice.php on line 2

createinvoice.php: Invoice error: 'i' (WHMCS 6.2.1)

After clicking "Pay now" on the invoice, I get sent to /modules/gateways/bit-pay/createinvoice.php and get this error:

[ERROR] In modules/gateways/bitpay/createinvoice.php: Invoice error: 'i'

Not sure how to troubleshoot this, any ideas?

Invoice error: 'One or more fields is invalid'

Hi,

I am facing new error with bitpay plugin, help to solve.
[ERROR] In modules/gateways/bitpay/createinvoice.php: Invoice error: 'One or more fields is invalid'

There is no error log produced in whmcs.

waiting for your reply.

Support to WHMCS 8.0

Dear support:
I have upgraded the WHMCS 8.0 for security reasons, but I checked that BitPay has support on WHMCS up to V7.x
Do you have updated files for WHMCS version 8.0 or when do they plan on releasing an update to their module?

Many thanks for your help.
Thanks.

Any Support?

This plugins hasn't worked in sometime is anyone going to upgrade it?

now we have WHMCS version 7 out I'm sure this is a perfect time to upgrade the bitpay plugin

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.