VM3.0.2_Paypal Express Checkout Page: which file can I work on to customize it?

Started by hhtmp88, December 28, 2014, 12:00:50 PM

Previous topic - Next topic

hhtmp88

Dear all

Pls. see attached screen capture for Paypal Express Output Page, "03_Paypal_Express Checkout_page_a1.png"
(a)  logo is placed in the wrong location, I hope that it should be on the top like that of Paypa Payment Standard (see attached screen capture "Logo_Problem_inPaypal Standard_output page_a1.png")

(b) My site's default language is Chinese (zh-TW), but English language code (en-GB) is passed to Paypal
-> so how to pass the correct language code zh-TW to Paypal?

[attachment cleanup by admin]
JMY(晉明夷)
http://mfyoga.org -- Mindfulness Yoga Association 靜觀瑜伽協會
http://yogajm.com -- YogaJM 晉明瑜伽
http://jinmy.me -- JMY 晉明日誌
http://jm3ime.com -- JinMing 3-Key Chinese Input Method 晉明三鍵輸入法

alatak

Hello


Quote(a)  logo is placed in the wrong location,
Here https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECCustomizing/
it says
QuoteCreate a logo image up to 90 pixels wide by 60 pixels high and save it in a valid graphics format, such as .gif, .jpg, or .png.

QuoteMy site's default language is Chinese (zh-TW),

ok, i think i found.
Please try this:

file plugins/vmpayment/paypal/paypal/helpers/paypalexp.php
in function getLocaleCode (line 229)
replace
$tag = $jlang->getTag();
with
$tag = $jlang->getTag();
$tag=str_replace('-','_',$tag);