user1847437
user1847437

Reputation: 213

How to configure a magento 1.7.2 multistore with PayPal multi accounts ?

I have a magento 1.7.2 running in multistore mode, how can I set a paypal IPN for each site? (The two sites use different paypal account.) Looks like I can set the paypal IPN only on the default configuration. Any tips? thanks

Upvotes: 2

Views: 3029

Answers (3)

user1847437
user1847437

Reputation: 213

Here the answer http://www.magentocommerce.com/boards/viewthread/79479/

tested and running in my site thanks

Upvotes: 0

Meabed
Meabed

Reputation: 3938

Create another module with admin configuration of the other emails you want to support and extend the model

Mage_Paypal_Model_Standard

and override the method

public function getConfig()

to set your logic for switching the config ( paypal email accounts )

Upvotes: 1

Sebastian Schmidt
Sebastian Schmidt

Reputation: 1078

Are you sure that you are talking about IPN, which means Instant Payent Notification? It is not necessary to configure anything about IPN in Magento.

When sending a transaction to PayPal Magento tells PayPal which URL to use for IPN. This URL is store specific and overwrites any settings done in your PayPal account. So what you have to do ist change PayPal API Crendentials for each store in Magento, which can be done by choosing the current config section.

Upvotes: 1

Related Questions