Support Forums

Paypal payment method for other Paypal's country sites

This is a discussion on Paypal payment method for other Paypal's country sites within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Since my 68C is dedicated for foreign clients I want to use PayPal site specific for that country. So instead ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 09-06-2008, 03:16 AM   #1
Member
 
Join Date: Aug 2008
Posts: 42
Rep Power: 13
Mi?Uszatek is on a distinguished road
Question Paypal payment method for other Paypal's country sites

Since my 68C is dedicated for foreign clients I want to use PayPal site specific for that country.

So instead of www.PayPal.com they will process payments via www.PayPal.pl

Can anyone tell me what need to be changed? I assume that only extension of the domain (paypal.com) since PayPal system is the same for all countries just language part is different.

Which files I need to open?
__________________
68 Classifieds � version 4.0.8 Designer
Mi?Uszatek is offline   Reply With Quote
Old 09-06-2008, 08:37 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Hi,

Everything dealing with paypal is in includes/paymentapi/paypal/ Specifically the sr.php file.

This should not be encrypted and allow you to edit it.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 09-06-2008, 11:49 AM   #3
Member
 
Join Date: Aug 2008
Posts: 42
Rep Power: 13
Mi?Uszatek is on a distinguished road
Default

I believe that another parameter need to be sent to Paypal to match payment site language with 68C language. I don't see nothing in sr.php but it could be compiled in config.php (not sure since I can't see it)

this is exactly how this is done:
Paypal Express checkout language settings

so according to documentation I need to find LOCALCODE and set it to my country code (US, DE, PL, ES etc etc )

Do you know if this parameter is sent , and where it is? If not ...where I can add that?

This will be valuable info for everybody trying to translate 68C to their language and match payment system with it.
__________________
68 Classifieds � version 4.0.8 Designer
Mi?Uszatek is offline   Reply With Quote
Old 09-06-2008, 12:11 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I am not sure if this will work or not but worth a try.

Open the sr.php file and find the paypal_createForm function. Go to the bottom of that and before this line:
return $output;

Add this:
<input type="hidden" name="lc" value="DE">

Quote:
France(FR),
Spain (ES),
Italy (IT),
Germany (DE),
China (CN),
English (US).
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 09-06-2008, 12:23 PM   #5
Member
 
Join Date: Aug 2008
Posts: 42
Rep Power: 13
Mi?Uszatek is on a distinguished road
Default

beautifull, .......works like a charm

I like this system more and more
__________________
68 Classifieds � version 4.0.8 Designer
Mi?Uszatek is offline   Reply With Quote
Old 09-06-2008, 01:20 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

That is awesome. Thanks!
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Tags
currency , language , paypal

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paypal payment + Incomplete Listings Mod = Disaster! crystal Technical Support 2 06-11-2008 03:24 PM
PayPal Payment Error - MySQL problem? cwp Technical Support 10 03-14-2008 05:41 PM


All times are GMT -4. The time now is 06:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0