edrom Posted January 31, 2018 Share Posted January 31, 2018 Hi all, Is there a way to create a promotion when clients are paying with "X" currency? Say I want to create/apply a 20% discount if a (new or existing) client place an order and is paying ONLY with cryptocurrency (e.g. Bitcoin, Litecoin, etc.) instead of USD (default) or Mexican Pesos? Thanks! Eduardo Link to comment Share on other sites More sharing options...
brian! Posted January 31, 2018 Share Posted January 31, 2018 Hi Eduardo, 1 hour ago, edrom said: Is there a way to create a promotion when clients are paying with "X" currency? not from the settings... generally, promotions apply to all currencies. if it's a fixed amount discount, then it's worth noting the following from the documentation... Quote When defining the value for a Fixed Amount promotion, it is important to note that this value applies to the Base Currency. For instance - if the installation's Base Currency is USD, then setting the Value for a Fixed Amount promotion to 100 will provide a discount of $100.00 USD when used by customers. If the installation has additional currencies configured, beyond the Base Currency, then the Base Conversion Rate will be used to determine the discount provided to customers using these additional currencies. 2 hours ago, edrom said: Say I want to create/apply a 20% discount if a (new or existing) client place an order and is paying ONLY with cryptocurrency (e.g. Bitcoin, Litecoin, etc.) instead of USD (default) or Mexican Pesos? under those circumstances, you might be able to use one of the Gateway Fees addons listed in Marketplace and apply a negative % fee to the gateway that you use for Cryptocurrencies... that would effectively act as a discount - however, I don't know if any of those addons allow negative gateway fee rates, or the option to change the text shown on the invoice (e.g change the output from "Gateway Fee" to "Gateway Discount"). it would also be applied to all products using that gateway - so unlike promotion codes, you might not be able to assign the discount just to specific products. Link to comment Share on other sites More sharing options...
sentq Posted January 31, 2018 Share Posted January 31, 2018 note that client may choose one gateway while placing his order, then in the "View Invoice" page he could change to different gateway, so in this the discount will still apply, so you have two options: 1) go with @brian! suggestion which I recommend if it fits what you need as brian described. 2) use this ActionHook:InvoiceGatewayChange to check the current gateway selected by user, then apply/remove your discount to his invoice using API:UpdateInvoice along with DB query, it might be tricky but it could be done. Link to comment Share on other sites More sharing options...
brian! Posted January 31, 2018 Share Posted January 31, 2018 1 minute ago, sentq said: note that client may choose one gateway while placing his order, then in the "View Invoice" page he could change to different gateway, so in this the discount will still apply true, but the option that allows the client to change gateway can be disabled in the general settings. Link to comment Share on other sites More sharing options...
edrom Posted January 31, 2018 Author Share Posted January 31, 2018 Thanks a lot both Brian and sentq for your help! -- Ed Link to comment Share on other sites More sharing options...
edrom Posted January 31, 2018 Author Share Posted January 31, 2018 Hello, For anyone interested: I will use "Coinpayments". They have WHMCS plugin and is very easy to setup. At Coinpayments site, you can select the coins you will accept and give a discount, if you want to. So client place an order, if paying with USD, no discount appears, but if paying with Bitcoin, client will pay an x% less at checkout @ Coinpayments. Quote AT COINPAYMENTS Positive Numbers (>0): Gives buyers a discount for paying with a coin. Good promotional tool if you want to give extra support to a particular coin.Negative Numbers (<0): Adds a certain percentage (padding) for paying with a coin. This could be used to cover your crypto/fiat conversion costs, make adjustments to match your local exchange, etc. Thanks! Ed Link to comment Share on other sites More sharing options...
brian! Posted February 1, 2018 Share Posted February 1, 2018 14 hours ago, edrom said: I will use "Coinpayments". They have WHMCS plugin and is very easy to setup. At Coinpayments site, you can select the coins you will accept and give a discount, if you want to. i'm glad to see that you found a viable solution. https://www.coinpayments.net/merchant-tools-plugins remember to add it to your list of addons to check before updating your WHMCS installation, e.g when the time comes to update to v7.5 or later, check that the addon is still compatible or that no changes were required to be made to the existing addon release. Link to comment Share on other sites More sharing options...
edrom Posted February 1, 2018 Author Share Posted February 1, 2018 58 minutes ago, brian! said: i'm glad to see that you found a viable solution. https://www.coinpayments.net/merchant-tools-plugins remember to add it to your list of addons to check before updating your WHMCS installation, e.g when the time comes to update to v7.5 or later, check that the addon is still compatible or that no changes were required to be made to the existing addon release. You're right! Thanks for the reminder brian! ?? Link to comment Share on other sites More sharing options...
basic Posted February 1, 2018 Share Posted February 1, 2018 The nice thing about Stripe's Bitcoin service -- which they will discontinue in two months -- is that one can have incoming Bitcoins auto-converted to USD, and get paid in USD automatically once a week. "Coinpayments" does not offer such conversions, one has to transfer Bitcoins to another exchange, which makes all of this more work and time-consuming and complex. Question: is there a good replacement for Stripe's Bitcoin service you guys are aware of? We used coinify.com before switching to Stripe a year ago. But coinify.com started to be unreliable when the Bitcoin market got very active last year (and their Support "disappeared" at the exact time it was needed -- no replied to tickets at that time). Best, John Link to comment Share on other sites More sharing options...
edrom Posted February 12, 2018 Author Share Posted February 12, 2018 On 1/2/2018 at 2:45 PM, basic said: "Coinpayments" does not offer such conversions, one has to transfer Bitcoins to another exchange, which makes all of this more work and time-consuming and complex With Coinpayments, if you want to send your Bitcoins to another exchange, you just add your payment address once and that´s all. The payment modes available are: Quote To Balance: Received payments are stored in your CoinPayments wallet for later withdrawal at your leisure.ASAP: Received payments are sent to the address you specify as soon as they are received and confirmed.Nightly: Received payments are grouped together and sent daily (at approx. midnight EST GMT-0500). The main benefit of this option is it will save you coin TX fees.To Balance + Convert: Received payments are converted to the selected coin and stored in your CoinPayments wallet. In some cases such as if the amount received is too large to convert at current market volumes you may receive the original currency instead.ASAP + Convert: Received payments are converted to the selected coin and sent to the address specified. In some cases such as if the amount received is too large to convert at current market volumes you may receive the original currency instead in your CoinPayments wallet. Regards, Ed Link to comment Share on other sites More sharing options...
basic Posted February 12, 2018 Share Posted February 12, 2018 But that's what I was trying to say -- *no* conversion to USD (or Euro) possible at Coinpayments, and no automatic deposit to one's company's bank account -- as is the case with Stripe's Bitcoin service. Any alternative, any other service community members have used that does this (as does Stripe's Bitcoin service -- but that service will very soon be discontinued, as they announced). John Link to comment Share on other sites More sharing options...
Recommended Posts