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

PAYOSWXP-115: integrate amazon pay payment methods #285

Merged

Conversation

rommelfreddy
Copy link
Collaborator

PLEASE DO NOT SQUASH ON MERGE!

@rommelfreddy rommelfreddy force-pushed the task/PAYOSWSX-115_amazon-pay branch 2 times, most recently from 5cef725 to bf9f893 Compare January 18, 2024 11:27
@rommelfreddy rommelfreddy force-pushed the task/PAYOSWSX-115_amazon-pay branch 4 times, most recently from 5c63091 to 61cbfb7 Compare February 20, 2024 17:30

$payload = json_decode($payloadJson, true);
if ($totalAmount === null) {
$totalAmount = (float)$payload['paymentDetails']['totalOrderAmount']['amount'];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be sure that it is always set exactly like this? Should you set a default value or throw an exception if it is not set? (same below)

@janteuber janteuber merged commit b1edef7 into PAYONE-GmbH:master Mar 22, 2024
33 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.

3 participants