Author Topic: 2 payment gateways, one for each of 2 currencies  (Read 2004 times)

MCMuckle

  • Jr. Member
  • **
  • Posts: 58
2 payment gateways, one for each of 2 currencies
« on: October 15, 2009, 17:06:46 pm »
Hello,

I am running a VM shop in Kenya.  I have a local payment processor (and custom made VM gateway) that accepts Kenya Shillings only, and a Moneybookers Merchant account (and installed MB gateway) that accepts GBP only.

I have installed the xe currency converter so users can change the currency.

The trouble is that if they select to view in GBP, then select the local payment system they get charged the GBP value (at a considerable loss to me), and vice versa re the MB payment (they suddenly find they are being charged 120xGBP cost!)

Any ideas how to get around this?

Would it be possible to not have the currency selector published but to have the currency forced on payment method selection? and still retain the correct conversion rate?

What do you think?

Thanks

stinga

  • Contributing Developer
  • Full Member
  • *
  • Posts: 872
    • Squangle ltd
Re: 2 payment gateways, one for each of 2 currencies
« Reply #1 on: October 15, 2009, 22:11:44 pm »
G'day,

I can't think of a way to do it that would not require programming.
But it would not take much to later the checkout process so that it shows the payment type depending on the currency you have selected.

I think you would want to hack ps_checkout.php
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4

MCMuckle

  • Jr. Member
  • **
  • Posts: 58
Re: 2 payment gateways, one for each of 2 currencies
« Reply #2 on: October 16, 2009, 05:51:39 am »
Hi,

thanks for the suggestion.  I think the system would have to work more 'silently' in that rather have the user select the currency (which would have to be done prior to payment method selection) that the whole thing proceeds as normal until they arrive at payment method selection.  At THAT point any custom coding comes in that then changes the currency to the required one, without the user beiang able to change the currency back again.

Ideally the currency converter module would be hidden but still doing it's job of knowing the exchange rate.

Am I being too ambitious?

stinga

  • Contributing Developer
  • Full Member
  • *
  • Posts: 872
    • Squangle ltd
Re: 2 payment gateways, one for each of 2 currencies
« Reply #3 on: October 23, 2009, 15:23:38 pm »
Yes, that is what I meant.
The payment processor would be based on the currency the user selected earlier in the process.
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4

MCMuckle

  • Jr. Member
  • **
  • Posts: 58
Re: 2 payment gateways, one for each of 2 currencies
« Reply #4 on: October 23, 2009, 15:30:07 pm »
heh heh, hang on, try switching it.  Instead of

"The payment processor would be based on the currency the user selected earlier in the process"

it would be this

"The currency would be based on the payment processor the user selected earlier in the process"

I have someone working on it now with the promise they would provide instructions.  I will post them here when it is done.

Thanks

stinga

  • Contributing Developer
  • Full Member
  • *
  • Posts: 872
    • Squangle ltd
Re: 2 payment gateways, one for each of 2 currencies
« Reply #5 on: October 26, 2009, 20:18:10 pm »
That would work,

I was just thinking that the customer would select the currency they wanted and that would force the payment gateway.
But your way is just a good!
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4