在國外使用電子支票是很普遍的事情,是以既然需要增加支付方式,那麼電子支票支付肯定也是必須的啦...EchoBank(OpenEcho)也支援電子支票支付,ProStores也同樣支援電子支票支付,那好我的工作就是把他倆給連上,
先來看看我需要實作的接口

ExtensionWorker這個接口隻是一個辨別接口用于ProStores擴充時對這個實作類進行更新.
<dl><dt></dt></dl>
This interface serves only to identify your extension class as the Worker class so that StoreSense can make the appropriate updates.
那麼還是現介紹配置,ExtensionConfig這個接口隻提供了一個方法
<b>Method Summary</b>
java.lang.String
This method should return a string that a user will read when they clicks the online help button.
這個方法是生成提示資訊是調用的.
下面就是重要的接口了ElectronicCheckProcessor
This interface serves as the interface required to implement a custom electronic check processor.
由于電子支票支付子產品隻有一個類,是以隻需要上傳一次就行了,還是按照上面的步驟将<b>電子支票配置和處理類</b>的完全限定名填寫至(Fully qualified classname)框中,點選浏覽(Browse…)選中檔案,然後點選上傳(Upload)
此時會在System >> Extensions >> <b>Electronic Check </b>下看到OpenEcho Electronic Card這就是咱們的支票配置和處理類.
本文轉自 tony_action 51CTO部落格,原文連結:http://blog.51cto.com/tonyaction/42033,如需轉載請自行聯系原作者