Rails Activermerchant 和 Trustcommerce Vault BillingID 问题
我正在构建一个 Rails 应用程序,使用精彩的 activemerchant gem 将信用卡信息保存在 Trustcommerce Citadel 中以供将来交易。我目前可以发送账单地址和信用卡信息的哈希值以保存在 Citadel 中,但我有点困惑如何检索生成并保存在 Citadel 中的 BillingID 以供将来使用。也就是说,我想检索 BillingID 并将其保存在我自己的数据库中,以便用户将来能够找到他/她的信息。有人有这方面的经验吗?谢谢
I am building a rails app using the wonderful activemerchant gem to save credit card information in Trustcommerce Citadel for future transaction. I am currently able to send in hash of billing address and credit card information to save in Citadel, but I am kind of puzzled as to how I might retrieve the BillingID that is generated and saved in Citadel for future use. That is, I want to retrieve the BillingID to save in my own database so that the user is able to locate his/her information in the future. Has anybody had experience with this? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我让它工作了。
store() 方法从 Trustcommerce Vault 返回“billingid”以供检索。使用 params['billingid'] 检索 ID。
I got it to work.
store() method returns "billingid" from Trustcommerce Vault for retrieval. use params['billingid'] to retrieve the id.