Skip to content

Commit

Permalink
Google Pay Express (#1243)
Browse files Browse the repository at this point in the history
* feat: enabling/disabling apple pay express on pdp config (#1140)

* Render applepay btn on PDP (#1145)

* fix: removed err in catch

* feat: override detail page

* fix: unit tests

* chore: move files

* fix: tests

* fix: render button on initial render of the product

* chore: consolidate metadata attributes

* chore: remove system attributes

* Create temporary basket for express pdp (#1183)

* feat(SFI-876): applepay express pdp

* chore(SFI-876): unit tests

* chore(SFI-876): unit tests

* feat(SFI-876): create temporary basket for express pdp

* fix(SFI-876): handle temporary basket creation failure

* fix: adding csrf validation to applePayExpressCommon.js and linting

* chore: linting

---------

Co-authored-by: Zenit Shkreli <[email protected]>

* Adding the google pay express enable/disable option and rendering it in cart and minicart (#1190)

* feat: adding the google pay express enable/disable option for cart,minicart and pdp

* feat: enabling google pay on cart/minicart

* chore: linting

* chore: css fix

* chore: skipping klarna success test due to flakiness

* chore: skipping ideal flaky test

* chore: testing force:true if it solves flakiness

* chore: reverting the force:true and skipping the other klarna,ideal flaky tests

* feat: adding google pay on pdp (#1198)

* feat: enabling payments call for google pay express

* chore: added todo comment

* fix: conflicts with the branch for sending only one payment methods call

* On payment data changed (#1221)

* feat: handle on payment data changed

* feat: redirect to confirmation page

* chore: remove log

* fix: tests for google pau

* fix: async promise lint error

* Google Pay temp basket (#1222)

* e2e tests google pay (#1224)

* chore: remove basket id from response

* fix: lint errors

* Google Pay unit tests (#1241)

* chore: unit tests for google pay express

* chore: use blocked scoped variable

* chore: test get transaction info

* chore: unit tests for google pay express

* chore: validate fn refactor

* fix: unit tests

* fix: google pay temp vs current basket amount

* fix: e2e

* fix: e2e

* fix: add timeout

* fix: revert timeout

* fix: latest ver

* chore: remove unneded code

* chore: add timeout

* fix: move timeout to paymentmethods page

---------

Co-authored-by: Zenit Shkreli <[email protected]>
Co-authored-by: Shani <[email protected]>
  • Loading branch information
3 people authored Feb 4, 2025
1 parent b0174c2 commit 95f81d2
Show file tree
Hide file tree
Showing 27 changed files with 978 additions and 18 deletions.
16 changes: 16 additions & 0 deletions metadata/site_import/meta/system-objecttype-extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,20 @@
<externally-managed-flag>false</externally-managed-flag>
<default-value>true</default-value>
</attribute-definition>
<attribute-definition attribute-id="GooglePayExpress_Enabled">
<display-name xml:lang="x-default">Enable Google Pay express checkout</display-name>
<type>boolean</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<default-value>true</default-value>
</attribute-definition>
<attribute-definition attribute-id="GooglePayExpress_Pdp_Enabled">
<display-name xml:lang="x-default">Enable Google Pay express on product detail page</display-name>
<type>boolean</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<default-value>true</default-value>
</attribute-definition>
<attribute-definition attribute-id="PayPalExpress_Enabled">
<display-name xml:lang="x-default">Enable PayPal express checkout</display-name>
<type>boolean</type>
Expand Down Expand Up @@ -714,6 +728,8 @@
<attribute attribute-id="AmazonPayExpress_Enabled"/>
<attribute attribute-id="PayPalExpress_Enabled"/>
<attribute attribute-id="PayPalExpress_ReviewPage_Enabled"/>
<attribute attribute-id="GooglePayExpress_Enabled"/>
<attribute attribute-id="GooglePayExpress_Pdp_Enabled"/>
</attribute-group>
</group-definitions>
</type-extension>
Expand Down
Loading

0 comments on commit 95f81d2

Please sign in to comment.