Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Update getPaymentData method to accept a reference parameter#186

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Freddy10035 wants to merge1 commit intounicodeveloper:master
base:master
Choose a base branch
Loading
fromFreddy10035:master

Conversation

Freddy10035
Copy link

This is to handle

GuzzleHttp\Exception\ClientException Client error: GEThttps://api.paystack.co/transaction/verify/ resulted in a 400 Bad Request response: { "status": false, "message": "Transaction ID should be numeric." }

error that people keep on getting when using this with laravel.

@Freddy10035
Copy link
Author

DO NOT MERGE

@chrisidakwo
Copy link

DO NOT MERGE

Is there any reason why this should not be merged?

@unicodeveloper I just came across this issue when trying to verify a payment from a payment page. On successful transaction, the Paystack payment page sendsreference as the query param rather thantrxref. Hence, either theverifyTransactionAtGateway() method is updated to account for areference query param or devs are given the option ingetPaymentData() to provide the reference however they receive from Paystack - I prefer this option.

@Freddy10035 Pls see my comment on your changes

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@chrisidakwochrisidakwochrisidakwo left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Freddy10035@chrisidakwo

[8]ページ先頭

©2009-2025 Movatter.jp