Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer Payment Profile Unmask Expiration Date and Issuer Info #3435

Open
realleoman opened this issue Nov 7, 2019 · 0 comments
Open

Customer Payment Profile Unmask Expiration Date and Issuer Info #3435

realleoman opened this issue Nov 7, 2019 · 0 comments

Comments

@realleoman
Copy link

Is it possible to use the method def get_customer_payment_profile and passing the options: unmask_expiration_date and the include_issuer_info ?

I'm using this method like the example below and I get the credit card holder payment profile information but it looks like the Response doesn't seem to accept these last two parameters, so CC info is masked.

Request
ActiveMerchantObject.get_customer_payment_profile(customer_profile_id: 111111111, customer_payment_profile_id: 22222222, unmask_expiration_date: true, include_issuer_info: true)

Response
"payment"=>{"credit_card"=>{"card_number"=>"XXXX1234", "expiration_date"=>"XXXX"}}

Any help, would be appreciates

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

No branches or pull requests

1 participant