Closed (fixed)
Project:
UC Payflow Pro
Version:
6.x-1.3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2010 at 04:26 UTC
Updated:
5 Dec 2010 at 17:56 UTC
Is there a way to manage more then one payflow pro account? I have 2 merchant accounts one for Canadian Dollars and one for US dollars. Amex Canada requires that we bill in Canadian dollars.
Comments
Comment #1
kwinters commentedThe module is definitely not designed with two different PFP logins in mind. Making that work would take a lot of effort or bad hacks. Search the code for variable_get('uc_payflowpro_user' to see how it's used.
The XML Pay spec document (which is the method the module uses to send data to PayPal) says "Amount (US Dollars) U.S. based currency" and similar descriptions for the various amount fields. I checked the other document (RESTful) and it also says USD all over. So, I don't really know what to do about that one. You may have to contact PayPal directly for more information.
Comment #2
gweston commentedWhat about just duplicating the module and changing the name to Payflow pro 1 and payflow pro 2.
Then route amex users to payflow pro 2
Comment #3
kwinters commentedDuplicating a Drupal module isn't really all that straight-forward, since you will have to rename a ton of functions too. It would probably work, but isn't necessarily better than just hacking the logic directly into the module (which is already far from ideal). In both cases you have to patch manually every time a new release comes out.
Comment #4
kwinters commentedAnother thought: you could use a separate subdomain + Drupal multisite to split off Canadian users.
Comment #5
gweston commentedfor Canadian users i can just run a separate site. That is not a big deal.
The overall issue tho is american express. They do not allow us to bill in USD. So I will not be able to accept AMEX.
Comment #6
kwinters commentedYeah you'll have to contact PayPal to see what the situation is there. Payflow may already do something to handle that behind the scenes.
Comment #7
kwinters commentedThis appears to have been resolved, so closing.