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

SyncAction: token field invalid #17

Closed
tsdevelopment opened this issue Apr 5, 2022 · 1 comment · Fixed by #24
Closed

SyncAction: token field invalid #17

tsdevelopment opened this issue Apr 5, 2022 · 1 comment · Fixed by #24
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tsdevelopment
Copy link

tsdevelopment commented Apr 5, 2022

The sync action tries to access a non existing token field:

// Action/SyncAction.php
if ($details->offsetExists('token')) {
    $this->gateway->execute(new AssertPaymentPage($details));
}

Must be:

// Action/SyncAction.php
if ($details->offsetExists('Token')) { // Token instead of token (first letter uppercase)
    $this->gateway->execute(new AssertPaymentPage($details));
}
@Chris53897
Copy link
Contributor

Can you please make a PR?

@solverat solverat added the bug Something isn't working label Mar 3, 2023
@solverat solverat self-assigned this Mar 3, 2023
@solverat solverat added this to the 0.5.0 milestone Mar 3, 2023
solverat added a commit to solverat/PayumSaferpay that referenced this issue Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants