我已经阅读了 PayFort 支付网关的文档。我已经设置项目并完成了与 android SDK 的交易。交易生成和保存卡工作正常。交易成功后(使用记忆卡)响应为
Success Response: {"amount":"XXXX","response_code":"14000","card_number":"400555******0001","card_holder_name":"Test","payment_option":"VISA","expiry_date":"2105","customer_ip":"xxx.xx.xxx.xx","eci":"ECOMMERCE","language":"en","fort_id":"xxxxxxxxxxxxxxxxxx","command":"PURCHASE","response_message":"Success","sdk_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","authorization_code":"xxxxxx","merchant_reference":"xxxxxxxxxxxxx","customer_email":"xxxxx@gmail.com","token_name":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","currency":"SAR","status":"14"}
交易成功后(不记卡)响应为
Success Response: {"amount":"XXXX","response_code":"14000","card_number":"400555******0001","card_holder_name":"Test","payment_option":"VISA","expiry_date":"2105","customer_ip":"xxx.xx.xxx.xx","eci":"ECOMMERCE","language":"en","fort_id":"xxxxxxxxxxxxxxxxxx","command":"PURCHASE","response_message":"Success","sdk_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","authorization_code":"xxxxxx","merchant_reference":"xxxxxxxxxxxxx","customer_email":"xxxxx@gmail.com","currency":"SAR","status":"14"}
只是token_name参数是保存卡响应中的额外响应。现在我的问题是,如果用户保存了他的卡详细信息并想稍后使用,那么如何列出那些已保存的卡列表?我无法在列出所有卡片的文档页面中获得任何休息 api。还有一件事,如果用户想直接支付而不使用该令牌输入卡详细信息,那么使用的参数是什么以及该交易将使用哪个 API?
注意:我可以在我的 payfort 帐户中查看这些卡的详细信息。