Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

缺少$gateway->completePurchase #1

Open
osdebianly opened this issue Feb 24, 2017 · 3 comments
Open

缺少$gateway->completePurchase #1

osdebianly opened this issue Feb 24, 2017 · 3 comments

Comments

@osdebianly
Copy link

支付完成后有个统一的 completePurchase 方法就方便多了

@phoenixg
Copy link
Owner

phoenixg commented Feb 24, 2017

Omnipay 标准定义了一个 isSuccessful() 方法用于处理支付成功情况,你建议的这个在支付完成后执行的 completePurchase () 方法,可以理解为支付成功吗?

@osdebianly
Copy link
Author

completePurchase() 方法用来验证支付结果,例如omnipay-alipay

@phoenixg
Copy link
Owner

phoenixg commented Feb 28, 2017

@osdebianly 好哒,感觉有道理!~~~过几天加上~~~ ~~~这阵子忙完了加上~~~, 再过一阵加上。
BTW,omnipay-pingpp 也收纳了 alipay

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants