English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: JMS, Virtuemart and Paypal
#878
Re:JMS, Virtuemart and Paypal 14 Years, 11 Months ago Karma: 0
Hi Edwin,

You are right. It's not easy to modify those codes of ps_paypal.php,.....

My question is "have you tried this??"

There are many parameters in ps_paypal.cfg.php:
{
Test mode ?
PayPal payment email:
Order Status for successful transactions:
Order Status for Pending Payments:
Accept only verified buyers?
Order Status for failed transactions:
}

And we are going to override all those settings in the beginning of the payment extra info with something like:
if defined( 'MULTISITES_ID') {
switch 'MULTISITES_ID' {
case 'xxxx':
PAYPAL_DEBUG = "1";
PAYPAL_EMAIL=myemail@myemail.com;
...
case 'yyyy':
;
}


My worry is all those parameters are shared with all slaved sites, will our modification induce any side effect?

Anybody have tried these?

Many thanks.

Seth
KingoftheRoad
Expert Boarder
Posts: 100
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#879
Re:JMS, Virtuemart and Paypal 14 Years, 11 Months ago Karma: 54
if you modify manually the ps_paypal.cfg.php, this means that you can no more edit the configuration using VM as it wills rewrite all the peace of code.
If you include the if defined in this files, it will be lost when you will update the configuration.
This is the reason why I have suggestted to do the update in the extra info.

I suggest that you test it yourself.
I have not tried.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#892
Re:JMS, Virtuemart and Paypal 14 Years, 11 Months ago Karma: 0
Hey, just a note, what I have found out is that once I create the new replicated site, and install the Virtuemart Module that contains the frontend login, I can login via the frontend as admin and change the paypal email addresses and other store information and configure the store with no problem. I'm not sure why it works this way but it does. When I attempt to do this from the backend, I notice that my url changes back to the master site url's backend and leaves the current subdomain that the replicated site is located in.
27midwest1
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/05/16 17:08 By 27midwest1.
The administrator has disabled public write access.
 
#894
Re:JMS, Virtuemart and Paypal 14 Years, 11 Months ago Karma: 0
Hi 27midwest1,

Very good tips! Thank you. Should you find out any other useful tips, pls share with us here.

Seth
KingoftheRoad
Expert Boarder
Posts: 100
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#895
Re:JMS, Virtuemart and Paypal 14 Years, 11 Months ago Karma: 54
Check the VirtueMart "general" configuration of the slave site that may have the SECURE URL having the URL of the master website.
This explain why it is redirected to the master website.
By default, when VirtueMart configuration is not edited or modified, it uses the one present in the master website.

As the all the VirtueMart payment method save their configuration on the disk, this is normal that whatever website will change this value.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla