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

Draft of CreatePayPalOrderPayloadBuilder #1209

Draft
wants to merge 26 commits into
base: release/v8.4.0.1
Choose a base branch
from

Conversation

L3RAZ
Copy link
Collaborator

@L3RAZ L3RAZ commented Mar 6, 2024

No description provided.

btafforeau and others added 6 commits March 4, 2024 17:00
* Modified payment client and configuration builder

* Changed PayPalClient name

* Added builder interface

* CS fix
* Replace client token by user id token

* Implement payment method token

* Interfaces

* PAYSHIP-2631 PayPal Create Order Request DTO

* Added correct class import

* [PAYSHIP-2637] CreatePayPalOrderResponse DTO (#1189)

* Added CreatePayPalOrderResponse DTO

* Added DTOs for create order response

* CS fix

* Added licenses

* [PAYSHIP-2632] Order create refactoring (#1183)

* Created required classes

* Added order create command handler logic

* Added paypal order query handler

* Moved QueryResult to Query namespace

* Added create command and get order query to command bus factory

* CS fix

* PHPStan fixes

* Reverted to old create handler

* PHPStan fixes

* Fixed regex and wrong customerId type

---------

Co-authored-by: Laurynas <laurynas.sedys@invertus.eu>
Co-authored-by: Laurynas Šedys <laurynas.sedys.96@gmail.com>
@L3RAZ L3RAZ marked this pull request as draft March 6, 2024 13:58
@L3RAZ L3RAZ force-pushed the feat/create-order-payload-builder branch 2 times, most recently from f6e898e to 5dcd2be Compare March 6, 2024 14:00
@L3RAZ L3RAZ requested a review from Matt75 March 6, 2024 14:00
@L3RAZ L3RAZ force-pushed the feat/create-order-payload-builder branch 4 times, most recently from aa674e7 to 084444d Compare March 6, 2024 16:00
btafforeau and others added 16 commits March 7, 2024 13:01
* Modified payment client and configuration builder

* Changed PayPalClient name

* Added builder interface

* CS fix
* Replace client token by user id token

* Implement payment method token

* Interfaces

* PAYSHIP-2631 PayPal Create Order Request DTO

* Added correct class import

* [PAYSHIP-2637] CreatePayPalOrderResponse DTO (#1189)

* Added CreatePayPalOrderResponse DTO

* Added DTOs for create order response

* CS fix

* Added licenses

* [PAYSHIP-2632] Order create refactoring (#1183)

* Created required classes

* Added order create command handler logic

* Added paypal order query handler

* Moved QueryResult to Query namespace

* Added create command and get order query to command bus factory

* CS fix

* PHPStan fixes

* Reverted to old create handler

* PHPStan fixes

* Fixed regex and wrong customerId type

---------

Co-authored-by: Laurynas <laurynas.sedys@invertus.eu>
Co-authored-by: Laurynas Šedys <laurynas.sedys.96@gmail.com>
* Create ObjectNormalizer to add supports of SKIP_NULL_VALUES

* Added object deserializing tests

* Added dependency injection for serializer

* Updated PaymentService with response serialization

* CS fix

* Removed custom object normalizer

* Added bootstrap to phpunit config

* Added order object serialization to pass to event

* Service refactoring

* Added toArray function to object serializer and fixed snake case conversion

* Added serializer interface

* Fix

* Fixed phpstan errors

* Added json serialization to order requests and fixed cs issues

---------

Co-authored-by: Matt75 <5262628+Matt75@users.noreply.github.com>
* Added new db structure for orders

* Added entities for order

* Added PayPal Order repository

* Added create and delete functions

* Added sql escaping

* Added order saving to DB to event handler

* Added new fields for order, capture and refund

* phpstan fix
@L3RAZ L3RAZ force-pushed the feat/create-order-payload-builder branch from 084444d to 92751f6 Compare March 7, 2024 11:41
@Matt75 Matt75 force-pushed the feat/PAYSHIP-2632-2 branch 2 times, most recently from 9af1ebe to 898f443 Compare April 3, 2024 16:16
@L3RAZ L3RAZ force-pushed the feat/PAYSHIP-2632-2 branch 7 times, most recently from 7247254 to 22307bb Compare April 9, 2024 08:20
Base automatically changed from feat/PAYSHIP-2632-2 to release/v8.4.0.0 April 25, 2024 13:33
Base automatically changed from release/v8.4.0.0 to prestashop/8.x April 25, 2024 15:04
@Matt75 Matt75 changed the base branch from prestashop/8.x to release/v8.4.0.1 April 25, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants