Skip to content

Add support for card token payments#57

Open
samiullah-dev wants to merge 7 commits intomoyasar:mainfrom
samiullah-dev:card-token-payment-source
Open

Add support for card token payments#57
samiullah-dev wants to merge 7 commits intomoyasar:mainfrom
samiullah-dev:card-token-payment-source

Conversation

@samiullah-dev
Copy link
Copy Markdown

This PR adds support for payments using saved card tokens (like when a user has already saved their card).
I added two new models:

CardTokenPaymentRequestSource — for sending token-based payment requests

CardTokenPaymentResponseSource — for parsing token payment responses (basically same as card, but without the 3DS URL)

Also included:

Unit tests for CardTokenPaymentRequestSource — covers JSON output and validation

Let me know if anything needs to change!

@Abdelazeem777
Copy link
Copy Markdown

Hello, Moyasar Support team, I would like to ask, when is this PR going to be merged?
Thank you

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

Successfully merging this pull request may close these issues.

2 participants