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-158: Add PayPal v2 payment methods #331

Merged
merged 14 commits into from
Jan 13, 2025
Merged

Conversation

momocode-de
Copy link
Collaborator

No description provided.

.github/workflows/main.yml Outdated Show resolved Hide resolved
src/DependencyInjection/listeners.xml Outdated Show resolved Hide resolved
src/DependencyInjection/listeners.xml Outdated Show resolved Hide resolved
tests/Components/RedirectHandler/RedirectHandlerTest.php Outdated Show resolved Hide resolved
tests/EventListener/PayPalV2ExpressEventListenerTest.php Outdated Show resolved Hide resolved
$customerData = new RequestDataBag([
'guest' => true,
'salutationId' => $salutationId,
'email' => $response['addpaydata']['email'],
'firstName' => $this->extractBillingData($response, 'firstname'),
'lastName' => $this->extractBillingData($response, 'lastname'),
'firstName' => $billingAddress['firstName'], /** @phpstan-ignore offsetAccess.notFound */
Copy link
Collaborator

Choose a reason for hiding this comment

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

yes, i unterstand, but if it would be still great, if we can get rid of an ignore.
as alternative: use the array_filter only for the parameter of method hasAddressRequiredData, or within the method itself - then you should not get an phpstan error.

@momocode-de momocode-de force-pushed the PAYOSWXP-158-PayPal-v2 branch from 0e5efea to 350de26 Compare November 29, 2024 20:22
@rommelfreddy rommelfreddy force-pushed the PAYOSWXP-158-PayPal-v2 branch from 59a950f to 42d3c03 Compare December 2, 2024 14:53
@rommelfreddy rommelfreddy self-requested a review December 11, 2024 19:42
@momocode-de momocode-de force-pushed the PAYOSWXP-158-PayPal-v2 branch from b8b7746 to b4cada3 Compare December 11, 2024 21:07
@momocode-de momocode-de force-pushed the PAYOSWXP-158-PayPal-v2 branch from b4cada3 to 51fdf92 Compare December 15, 2024 15:35
@jvarelmann jvarelmann merged commit b535f27 into master Jan 13, 2025
22 checks passed
@jvarelmann jvarelmann deleted the PAYOSWXP-158-PayPal-v2 branch January 13, 2025 13:33
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