Author Topic: 2 Paypal Accounts?  (Read 1029 times)

Offline designbox

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
2 Paypal Accounts?
« on: 01/June/2009, 01:05:59 AM »
Hi,

Is it possible to create 2 vendors with each having its own paypal account to accept payments? I.e., nbill allows 2 paypal accounts under the settings "payment gateway"?

How can I do this? Can someone help me please. Thank you. :)

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: 2 Paypal Accounts?
« Reply #1 on: 01/June/2009, 09:53:05 AM »
No, I'm afraid that is not possible. The only way to do it would be to create a 2nd payment gateway (ie. copy the paypal gateway files, but rename everything so that nBill sees it as a different gateway).

Offline designbox

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: 2 Paypal Accounts?
« Reply #2 on: 22/July/2009, 12:09:28 AM »
Hi again,

So, if I rename all the following and it will be ok (just need to clarify b4 i attempt this)?

Directories
administrator/components/com_netinvoice/admin.gateway/admin.paypal --> /admin.paypal1
components/com_netinvoice/gateway/paypal --> /paypal1

SQL Tables
Duplicate the rows in the following sql tables from "paypal" to "paypal1":
jos_inv_payment_gateway
jos_inv_payment_gateway_config

Thank you.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: 2 Paypal Accounts?
« Reply #3 on: 22/July/2009, 11:17:11 AM »
You would also need to amend the gateway files themselves to use the correct file paths for loading the language file and the correct gateway name for loading the parameters. You should probably also add an entry to the jos_inv_extensions table.