森林之原
二月 04, 2012, 03:56:02 am *
歡迎光臨, 訪客. 請先 登入註冊一個帳號.

請輸入帳號, 密碼以及預計登入時間
新聞: 官方釋出 SMF 2.0 beta。繁體中文已經完成。請到 SMF 的版面下載測試。如有問題請通知。
 
   首頁   說明 搜尋 日曆 登入 註冊  
頁: [1]   向下
  寄送主題  |  列印  
作者 主題: PayPal IPN 可接受港元嗎?  (閱讀 8230 次)
0 會員 以及 1 訪客 正在閱讀本篇主題.
nicktang
初學者
*
離線 離線

文章: 4


« 於: 十一月 30, 2006, 11:44:00 pm »

在 PayPal 的官網已經接受 HK Dollar, 但在我的PayPal IPN,已經設定了 "Selected Currencies", 但 checkout 時都是 US Dollar.. 如何令我自己define 的 HKD 令 Paypal 知道?
向版主檢舉   已記錄
seethrou
訪客
« 回覆文章 #1 於: 十二月 02, 2006, 09:26:42 pm »

在 Paypal, 您的帳戶的設定上,有沒有檢查

=> My Account
==> Profile => Profile Summary
===> Financial Information
====> Currency Balances => Hong Kong Dollar    closeed ( 是否沒有把它 Open ?)

如果是 Closed 的,要在頁面的左下部份,有按鈕 [ Open Balance ], 可以用來 Open 需要用的 Currency,

Paypal 的有關說明
引用
Options for Managing Currency Balances

The Manage Currency table displays all of the currencies in which you may maintain a balance.

Open Balance
When you select a currency balance and click the Open Balance button, all future payments you receive in this currency will automatically be credited to this balance.

Close Balance
When you select an open currency balance and click the Close Balance button, all future payments you receive in this currency will be accepted, denied, or held as pending (depending on your Payment Receiving Preference for foreign currency payments, which is set in your Profile). If there is a positive amount in the balance you are closing, you will be prompted to transfer these funds to an open currency balance.

When you select a currency balance and click the Make Primary button, this currency will become your default currency for sending and requesting payments, and for converting payments you receive in foreign currencies (if you have chosen this option in your Payment Receiving Preferences).

Transfer
When you select a currency balance and click Transfer, you will be given the option of transferring funds from the balance you've selected to another currency balance.



請回報上面的資料是否有幫助!

向版主檢舉   已記錄
jacky
初學者
*
離線 離線

文章: 25


« 回覆文章 #2 於: 一月 19, 2007, 11:25:27 am »

1)要默認使用貨幣為HKD
2)再在支付模塊-Paypal及時付款通知-內選Selected Currency.
3)之後要改一個PHP檔(inculdes/modules/payment/paypal.php),檔內有一句是指,如果不在JPY、AUD、GBP、CAD...等貨幣中,便自動改用USD,要把USD改為HKD,即是113行(ver.127D)$my_currency = 'HKD'

這方法是有點更來,不對之處,請指教一下。

www.olchoice.com
向版主檢舉   已記錄
koku
初學者
*
離線 離線

文章: 17


« 回覆文章 #3 於: 八月 12, 2008, 08:41:19 am »

綜合seethrou與jacky的方法是有效的

我用的是1.3.7版的
約在177行處,修改下列程式碼便可了

    if (!in_array($my_currency, array('SGD', 'EUR', 'GBP', 'JPY', 'USD', 'HKD'))) {
      $my_currency = 'USD';
    }

將紅字的部分改成您想要的貨幣代號便可了
上面的例子是將加拿大幣改成新加坡幣,澳幣改成港幣了
我不知道在array裡追加是否有用
有興趣的人可自己試試看
向版主檢舉   已記錄
頁: [1]   向上
  寄送主題  |  列印  
 
前往:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!