用于 Play2 / Scala 的贝宝

PayPal for Play2 / Scala

我正在寻找 Paypal 的 IPN 的合适实现,以便在播放应用程序中重用。

我找到了 https://github.com/liftmodules/paypal 但不知道是否可以轻松地重用或移植它,或者是否存在更好的游戏框架实现。我还没有找到任何其他看起来稳定/维护或简单到我自己可以理解的...

这是我的技术问题: (how) 我可以 "use" (that) lift-modules inside play-framework ?

考虑 PayPal API 中的用法 example or directly use PayPal's core sdk. You must specify next parameters (some of them are optional, for more details see PayPal's specificaion):

  • 客户端ID
  • clientSecret
  • tokenCredential
  • accessToken
  • 金额详情
  • 交易
  • redirectUrl