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

Refacto/payment method token #1181

Merged
merged 60 commits into from
Apr 3, 2024
Merged

Conversation

Matt75
Copy link
Contributor

@Matt75 Matt75 commented Jan 15, 2024

No description provided.

@Matt75 Matt75 force-pushed the refacto/payment-method-token branch from 3739c39 to 9f49a67 Compare January 15, 2024 09:38
@btafforeau btafforeau force-pushed the refacto/payment-method-token branch from 9f49a67 to 07ca8ad Compare March 6, 2024 10:10
@L3RAZ L3RAZ force-pushed the refacto/payment-method-token branch 3 times, most recently from 580981e to d313883 Compare March 13, 2024 15:59
@L3RAZ L3RAZ changed the base branch from prestashop/8.x to feat/PAYSHIP-2632-2 March 18, 2024 12:45
@L3RAZ L3RAZ force-pushed the refacto/payment-method-token branch from 647c350 to fa9cf77 Compare March 18, 2024 13:09
@L3RAZ L3RAZ force-pushed the refacto/payment-method-token branch from 6213b5e to 92b3d0c Compare March 22, 2024 13:44
@L3RAZ L3RAZ force-pushed the refacto/payment-method-token branch from 9847b4e to e3738e5 Compare March 29, 2024 11:42
@L3RAZ L3RAZ force-pushed the refacto/payment-method-token branch from e3738e5 to 419fbb9 Compare March 29, 2024 11:45
@L3RAZ L3RAZ marked this pull request as ready for review April 3, 2024 07:53
@L3RAZ L3RAZ merged commit 0a73564 into feat/PAYSHIP-2632-2 Apr 3, 2024
12 checks passed
@L3RAZ L3RAZ deleted the refacto/payment-method-token branch April 3, 2024 07:54
Matt75 added a commit that referenced this pull request Apr 3, 2024
* Replace client token by user id token

* Implement payment method token

* Adding payment method token events for each webhook

* Added is_favorite column to token table

* PaymentToken entity and repository

* Added new JS component for vaulted payment methods

* Added correct payment logo display

* Added custom marks for vaulted payment methods

* Moved vaulting config check to fundingSourceProvider

* CS fix

* Added forms for vaulting payments and setting as favorite

* Renamed smarty template variables

* Added token delete handler and repository functions

* Temp fix for token events

* Changed delete function argument type

* Undid database table changes

* Added event subscriber implementation

* CS fix

* Fixed OrderDispatcher

* PHPStan fixes

* Added PayPal customer saving

* Added logic to set token as favorite after receiving webhook

* CS fix

* phpStan fix

* Remove final_capture from pscheckout_order table

* Added payment token delete without confirmation

* Added modal component and confirmation for payment token delete

* Added config for token event subscriber

* Added token deletion

* Added total count function for admin ajax controller

* Added setting payment token as favorite on order create

* Added userIdToken loading

* Added payment token status to Db table, entity and repository

* Added API call to get userIdToken

* added payment token status fetching from webhook

* Added token filtering by status

* Added Payment controller for validating orders with payment token

* Added check if payment token belongs to customer

* Replaced new order payload builder with old one in create order command handler

* Changed token and oauth functions to match API specifications

* Added new handler to save paypal order and related entities to database

* CS fix

* Added template for 3DS error

* Removed OauthHttpClient and added configuration for CheckoutHttpCLient base URL

* CS fix

* Add vault to legacy OrderPayloadBuilder

* Added 3DS logic to payment controller and moved order entities

* Fix ExpressCheckout product data

* Fix create order payload address

* Fix json array for card brands

* Added cancel_url to order payload

* Changed PayPal Order update functions and added Order update on PayPalOrderUpdated event

* Fixed total token count query

* PHPStan fixes

* CS fix

* Fixes payment token saving during order capture

* Fixes for vaulting order creation and capture

* Replaced returl_url in order create payload with redirect_uri in 3DS url

* Remove deprecated PayPal Client Token

* CS fixes

---------

Co-authored-by: Bastien Tafforeau <[email protected]>
Co-authored-by: Laurynas <[email protected]>
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