开发者

Rails Activermerchant and Trustcommerce Vault BillingID question

开发者 https://www.devze.com 2023-02-21 12:51 出处:网络
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

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开发者_JS百科 my own database so that the user is able to locate his/her information in the future. Has anybody had experience with this? Thanks


I got it to work.

store() method returns "billingid" from Trustcommerce Vault for retrieval. use params['billingid'] to retrieve the id.

0

精彩评论

暂无评论...
验证码 换一张
取 消