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

Fix issue with sdk doesnt send callback_url to web-service #9

Merged
merged 3 commits into from
Dec 18, 2017

Conversation

MarkRady
Copy link
Contributor

Before this PR, You was get error message "callback_url":["can't be blank","is too short".. bla bla bla when create payment.
The Reason is web service need callback_url argument and php sdk wasn't send it.

Now you can pass callback_url as 5th argument
Payment::create($amount, $source, $description = "", $currency = "SAR", $callback_url)

@ecleel ecleel requested a review from abarrak December 16, 2017 12:25
@abarrak
Copy link

abarrak commented Dec 17, 2017

Thank you @MarkRady on the contribution.

Extending the library with callback_url attribute allows complete integration for creditcard payments.
Although its integration should be performed via HTML form to adhere to PCI-DSS compliance.

@ecleel
Copy link
Member

ecleel commented Dec 17, 2017

@MarkRady Please delete .DS_Store files to merge the PR.

@MarkRady
Copy link
Contributor Author

@ecleel You can check it now.
Thank you.

@ecleel ecleel merged commit ca6f6c3 into moyasar:master Dec 18, 2017
@ecleel
Copy link
Member

ecleel commented Dec 18, 2017

@MarkRady Your PR is merged. Thank you for your contribution.

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.

3 participants