Jump to content

Passing currency code to 2Checkout


dvrjw

Recommended Posts

Hi all,

 

I am trying to support 3 currencies (UK pounds, NZ dollars and US dollars) and have set hosting and domain pricing in these 3 currencies. I do not want automatic price conversions.

 

I am having problems integrating my New Zealand based 2Checkout payment gateway.

 

Invoices for NZ customers are correctly charged in NZ dollars. However, invoices for UK and US customers do not pass the currency code to 2Checkout. 2Checkout thinks I am always dealing in NZ dollars so an invoice for 81.87 GBP appears in 2Checkout as either 81.87 NZD or 37.56 GBP.

 

I want to be able to pass the currency code to 2Checkout (as a form post parameter) like I do for Paypal

 

Please help me

 

Thanks,

 

Richard

Link to comment
Share on other sites

Which "Convert to For Processing" setting have you chosen in Setup > Payment Gateways?

Try playing with the different options.

 

Thanks for your reply,

 

The situation I described in my first post was with "Convert to For Processing" set to None. When I set it to convert to NZD, then a GBP invoice appears as an amount that is close but not exactly the correct value. I guess either WHMCS or 2Checkout (or both) are converting. Obviously this is not good enough for me as I can only expect customers to pay an invoice exactly as advertised.

 

I asked 2Checkout about this and got this reply-

 

"As each 2Checkout account is able to support a single payment currency, you would need to display all of the pricing on your site in one currency. We are unable to change the pricing currency at checkout based on a form parameter and pricing will display in the purchase currency that you had set in your account. If you wish to sell in multiple currencies on one site, you would need to open separate 2Checkout accounts for each currency that you wished to sell in"

 

So, I guess I can't do what I wanted to do with multiple currencies and 2Checkout unless I pay for separate 2Checkout accounts. I think I will just use paypal and accept the problems with recurring invoices. Shame, I like WHMCS but can't quite get it to do what I want. I suppose I could try another payment gateway but I am a very small operation and don't want to pay a large setup fee and can't afford to pay again only to find that it doesn't work as I expected.

 

Cheers,

 

Richard

Link to comment
Share on other sites

I think the problem is that 2CO is also attempting to do a currency conversion as well so this is why the total is slightly off. Please open a ticket with your WHMCS Admin login details and an invoice we can take a look at.

 

John,

 

Thanks but, based on their reply, I asked 2Checkout to refund and close my account so I cannot reproduce problem now. I will just use Paypal unless anyone can recommend a cheap multiple currency payment gateway available to NZ hosters?

 

btw, 2Checkout were very helpful and efficient - no quibbles regarding refund

 

Richard

Link to comment
Share on other sites

  • 1 month later...

I am now considering opening multiple 2checkout accounts - one per currency. NZ customers would be directed to my NZD currency account, GB customers to my GBP currency account. 2Checkout will support this but is it possible to set up two 2Checkout payment gateways in WHMCS?

Link to comment
Share on other sites

  • WHMCS Support Manager

You'd need to contact us for a modified duplicate of the 2CO module. You would then modify viewcart.tpl with something like:

{if $currency.code eq "NZD"} 
<input type="radio" name="paymentmethod" value="2checkout" id="pgbtn0"{if $selectedgateway eq "2checkout"} checked{/if} /> <label for="pgbtn0">2CheckOut</label> 
{elseif $currency.code eq "GBP"} 
<input type="radio" name="paymentmethod" value="2checkoutgbp" id="pgbtn0"{if $selectedgateway eq "2checkoutgbp"} checked{/if} /> <label for="pgbtn0">2CheckOut</label> 
{/if} 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated