Announcement

Collapse
No announcement yet.

PayPal in French

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PayPal in French

    I just learned that Paypal is now available in French in Canada !

    Can someone help me modified the « OCCPaypalTemplate.pl » to have PayPal display a French version of their « Billling Information » and subsequent pages.

    Thank you !
    Bernard Morin

    #2
    Mais oui, qu'est-ce-que tu veux?

    Comment


      #3
      J'espérais, par chance, qu'il n'y aurait qu'une ligne à changer dans le « .pl » pour appeler chez PayPal la version française de la page « Billing information » et des suivantes au lieu des pages anglaises actuelles.

      I hoped, by chance, that I would have only a line to change in the « .pl » : the one line that would call the the French version of « Billing information » and following pages instead of the standard English pages...

      Is luck on my side ?
      Bernard Morin

      Comment


        #4
        Take a look in C:\Program Files\Actinic v7\OCCUpgrade\OCCUpgrade.ini

        Seach for 'PayPal Website Payments' and you will see:

        ------------------------------------8<----------------------------------
        ProviderURL='https://www.paypal.com/cgi-bin/webscr'
        DBPlugInScriptName='OCCPayPalTemplate.pl'
        DBProviderURL='https://www.paypal.com/cgi-bin/webscr'
        ------------------------------------8<----------------------------------

        You could change these to point to the french form, increment the
        occupgrade version number and reopen Actinic.
        Regards,

        Toby Blanchard

        Comment


          #5
          From PayPal, I got a response:

          They told me I had to insert those variables:

          <input type="hidden" name="lc" value="FR">
          <input type="hidden" name="country" value="FR">

          But I don't know where to insert those two lines !
          Bernard Morin

          Comment


            #6
            Try this,

            Around line 92 you'll see the following code:

            AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider

            Just after it insert:

            AddPostValues ('&', 'lc', 'FR', $ALWAYS, $NOENCODE);
            AddPostValues ('&', 'country', 'FR', $ALWAYS, $NOENCODE);
            Regards,

            Toby Blanchard

            Comment

            Working...
            X