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

Unhandled Exception: LateInitializationError: Field 'source' has not been initialized. #12

Open
asmjalal opened this issue Feb 8, 2023 · 3 comments

Comments

@asmjalal
Copy link

asmjalal commented Feb 8, 2023

When i try to call below method i get this error.

PayModel res = await MoyasarPayment().stcPay(
amount: 100.0,
phoneNumber: '',
publishableKey: "test_key"
description: 'description');

@mohammeddawida
Copy link
Owner

@asmjalal What is the error message?

@asmjalal
Copy link
Author

@asmjalal What is the error message?

Unhandled Exception: LateInitializationError: Field 'source' has not been initialized.

@mahboob000
Copy link

@asmjalal What is the error message?
"Validation failed"
i'm continuously getting this message.

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

3 participants