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

Need to customize the save details toggle functinality #15

Open
Mahesh160393 opened this issue Jun 5, 2022 · 3 comments
Open

Need to customize the save details toggle functinality #15

Mahesh160393 opened this issue Jun 5, 2022 · 3 comments

Comments

@Mahesh160393
Copy link

Hello @cetozgen,

I need to customize my payfort SDK save card details feature. used cocoa pod.

On and Off features need to be customized. Please guide me on this.

Thanks

@cetozgen
Copy link
Contributor

cetozgen commented Jun 6, 2022

Hi @Mahesh160393

Saved card feature can be implemented with Direct Pay function mentioned on the page 37 of guide (https://m.media-amazon.com/images/G/01/APS/api-reference/APS_Integration_Guide_-_iOS.pdf)

After a successful transaction, you should have a mechanism to store masked card information along with the token. The view you choose to show masked card data would depend on your implementation and app design.

In order to accept payments via saved tokens, you simply provide the token saved on above stage in the request of MobileSDK.

@Mahesh160393
Copy link
Author

@cetozgen thank you for response

@Mahesh160393
Copy link
Author

@cetozgen Need to set the toggle by default off. Right now if I changed the toggle from design to off but when PayFortController open by default it is on. Need help on this

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

2 participants