This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Paypal - default country for credit card payment
Started 10 years ago by michelkeable | 2 posts |
-
When users want to pay with a credit card on the Paypal interface, they get, in my case, France, as the default country (I have a French website), but my users are all from Quebec, Canada.
Paypal says that I should include the following text : <input type="hidden" name="country" value="CA"> in the calling button, to get Canada as the default country.
Where should I put this ?
Michel Keable
Posted 10 years ago # -
Hello,
I know it's a bit of a old post, but I did ask myself the same question and found what file to modify to get the PayPal interface link to another country.
Under MachForm version 4.7, edit the file "post-functions.php" which can be found in the following folder : \machform\includes.
At the 3774 line, under the line$paypal_params = array();
add the following code
$paypal_params['country'] = 'CA';
Posted 9 years ago #
Reply
You must log in to post.