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

[PIWOO-348] FIX: Apple Pay button payment not possible as a guest user #835

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

inpsyde-maticluznar
Copy link
Collaborator

When debugging was enabled on servers with PHP8+, some server responses included warnings which resulted in broken frontend functionality. This simple fix takes care of that:

if (!isset($gatewaySettings['payment_surcharge'])) {
       return 0.0;
}

Other changes are from the code formatting.

@mmaymo mmaymo merged commit d1424a5 into develop Oct 30, 2023
5 checks passed
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