Emili Castells Guasch
c70fb24bdb
Merge branch 'trunk' into PCP-3317-implement-ap-ms-via-orders-api
2024-08-08 11:58:33 +02:00
Emili Castells Guasch
b42e9436ae
Add id token cache key for each user
2024-08-06 15:30:50 +02:00
Emili Castells Guasch
54657ed649
Add tokens cache
2024-08-06 10:44:54 +02:00
Emili Castells Guasch
2edeac5544
Add new create order endpoint (WIP)
2024-08-05 17:36:56 +02:00
Emili Castells Guasch
cf8eaba0a3
Run autofix code style
2024-07-23 14:36:22 +02:00
Emili Castells Guasch
2249ebd811
Show settings tabs in googlepay gateway settings page
2024-07-22 14:35:11 +02:00
Emili Castells Guasch
895cd5c4c1
Return payment method if it exist
2024-07-16 16:00:11 +02:00
Emili Castells
925480b665
Merge pull request #2409 from woocommerce/PCP-3360-wrong-string-in-smart-button-preview-on-standard-payments-tab
...
Wrong string in smart button preview on Standard Payments tab (3360)
2024-07-15 11:38:57 +02:00
Emili Castells Guasch
11105d913b
Run eslint autofix
2024-07-12 12:58:34 +02:00
Philipp Stracker
a71a3dec5a
💬 Fix incorrect preview box title
...
Fix the wrong literal introduced here:
<d2f0cb1c31/modules/ppcp-wc-gateway/src/Settings/Fields/paypal-smart-button-fields.php (L31)
>
2024-07-11 15:02:23 +02:00
George Burduli
59953ae58c
Remove redundant else condition
2024-07-10 18:08:46 +04:00
George Burduli
300804a738
Fix psalm error
2024-07-10 14:30:09 +04:00
George Burduli
49faab654a
Prevent enabling Standard Card Button when ACDC is enabled
2024-07-10 09:23:04 +04:00
Emili Castells Guasch
84f138a28d
Move wc subscriptions support to ppcp-wc-subscriptions
module and remove conditionals based on setting enabled
2024-07-05 16:21:16 +02:00
Emili Castells
da49ceefdb
Merge pull request #2371 from woocommerce/PCP-3286-pay-later-button-preview-are-missing
...
Pay Later button preview is missing (3286)
2024-07-04 09:29:07 +02:00
Philipp Stracker
964b9ac606
🔀 Merge branch 'trunk'
2024-07-03 11:05:43 +02:00
Emili Castells Guasch
ab02026816
Use wc_get_order
to retrieve the order
2024-07-02 11:19:59 +02:00
Emili Castells
34245a852b
Merge pull request #2379 from woocommerce/PCP-3327-remove-giropay-references-due-to-deprecation
...
Remove Giropay references due to deprecation (3327)
2024-07-01 15:39:45 +02:00
Emili Castells
e7f2d33623
Merge pull request #2377 from woocommerce/PCP-3309-check-available-features-this-button-is-non-functional
...
Enable the gateway settings JS file on connection tab (3309)
2024-07-01 15:39:05 +02:00
Philipp Stracker
0197896500
🥅 Catch several JS/API related preview issues
2024-07-01 15:25:06 +02:00
Philipp Stracker
5307225ef3
🐞 Fix JS error during PayLater preview
...
Incorrect selector for `payLaterButtonPreview` caused the preview to fail when the “Enable Pay Later Button” was unchecked during page load.
2024-07-01 14:12:31 +02:00
Emili Castells Guasch
59d0ae943e
Ensure purchase units payments is not null before usign it
2024-07-01 12:40:42 +02:00
Philipp Stracker
a1562ff0f3
🔥 Remove deprecated giropay reference
2024-06-28 18:36:38 +02:00
Narek Zakarian
034d21da6f
Enable the gateway settings JS file on connection tab.
2024-06-28 16:04:23 +04:00
Philipp Stracker
2e07b0f6c0
🚨 Fix reported CI error
2024-06-28 11:47:05 +02:00
Philipp Stracker
f606b87c85
💄 Complete rewrite of the preview box styling
...
Original styling designed for one use case (variable number of buttons, floating on the far right side).
Meanwhile we have multiple preview boxes, displaying, a fixed or variable amount of buttons; some preview boxes are also positioned inside a “frame” that requires custom padding and responsive checks.
2024-06-27 19:42:39 +02:00
Philipp Stracker
d2f0cb1c31
♻️ Consolidate preview-HTML in a new setting type
2024-06-27 18:01:06 +02:00
Philipp Stracker
4214821eb1
🔥 Remove unused dependencies
...
Left overs from PCP-3179
2024-06-25 16:40:05 +02:00
Philipp Stracker
f95bf333df
🐛 Load the preview button logic on Pay Later tab
2024-06-25 16:38:27 +02:00
Emili Castells
f5803f1c99
Merge pull request #2325 from woocommerce/PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab
...
Apple Pay & Google Pay buttons no longer visible in Standard Payments button previews after moving them to Advanced Card Processing tab (3179)
2024-06-17 09:30:47 +02:00
Emili Castells
3e6be85bb3
Merge pull request #2308 from woocommerce/PCP-223-gateway-description-not-translatable-with-wpml
...
Add WPML compatibility to the settings (223)
2024-06-14 14:56:54 +02:00
Philipp Stracker
238adedcad
🐛 Fix the condition to inject the settings JS
...
Switched to using an existing DI service to determine if the current page requires the “gateway-settings” asset files.
2024-06-13 11:35:05 +02:00
Philipp Stracker
c23129cb91
🐛 Render preview when enabling the button
...
Before this, the “is enabled” checkbox was not observed; enabling it did not cause a preview button to render, and required changing any other form field that was linked to the button
Also start to extract some logic to a new helper file.
2024-06-12 18:12:07 +02:00
Philipp Stracker
1f5caac2f1
🔀 Merge branch 'trunk'
2024-06-11 15:24:15 +02:00
Emili Castells Guasch
73bc86f9f5
Merge trunk
2024-06-11 10:52:10 +02:00
Philipp Stracker
cdc98159b8
🔥 Remove unused import
2024-06-10 16:12:53 +02:00
Philipp Stracker
ab0f25ffd7
🔀 Merge branch 'trunk'
2024-06-07 21:16:40 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation
2024-06-07 15:42:16 +02:00
Philipp Stracker
c03f83f2e5
✨ Add Google Pay preview button to ACP tab
...
Note: `phpcbf` adjusted tons of whitespace.
2024-06-07 12:28:49 +02:00
Emili Castells Guasch
8f86945059
Get purchase units from order when in pay for order context
2024-06-07 10:46:03 +02:00
Philipp Stracker
202f308850
🔀 Merge branch 'trunk' into PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab
2024-06-05 18:43:47 +02:00
Philipp Stracker
d69fb5bc70
🐛 Load button preview JS on ACDC settings page
...
Renamed the DI service name; this service is only used in two places (APM modules), which were also updated.
2024-06-05 18:05:06 +02:00
Philipp Stracker
3c8144de42
🩹 Remove HTML from the error message
...
As outlined in the linked issue: HTML code is escaped by the exception handler, instead of displaying a clickable link.
2024-06-05 15:24:13 +02:00
Emili Castells Guasch
c8b2f99e65
Fix axo.smart-button-location-notice service not found
2024-06-05 11:59:04 +02:00
Emili Castells Guasch
4ee33d5fd0
Merge trunk
2024-06-04 15:59:00 +02:00
Daniel Dudzic
1bc7968e52
Add WPML compatibility to the settings
2024-06-03 17:49:00 +02:00
Emili Castells
3aba8d7dea
Merge pull request #2259 from woocommerce/PCP-3136-enable-shipping-callback-for-wc-subscriptions
...
Enable shipping callback for WC subscriptions (3136)
2024-06-03 14:25:36 +02:00
Emili Castells
3ca6e7b125
Merge pull request #2281 from woocommerce/PCP-737-pui-gateway-displayed-when-no-checkout-country-selected-for-guest-customer
...
Disable Pay Upon Invoice if billing/shipping country not set (737)
2024-06-03 10:27:59 +02:00
George Burduli
4a3345113b
Use WC Customer API to retrieve billing and shipping countries
2024-05-31 13:07:41 +04:00
Philipp Stracker
b753cf1ec9
🐛 Fix fallback logic when vaulting is disabled
...
Added condition to handle incorrect condition: hardcoded default setting did ignore the form's input value.
2024-05-29 16:18:17 +02:00