Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
824fe82
hosted fields
vegimcarkaxhija Jul 29, 2024
4708968
hosted fields
vegimcarkaxhija Jul 30, 2024
0c79bc1
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Aug 8, 2024
acdc420
credticard hosted fileds
vegimcarkaxhija Aug 9, 2024
be42232
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Aug 9, 2024
d090744
Add CSP nonce to all Buckaroo templates
Aug 12, 2024
8f95fcf
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Sep 2, 2024
cd05142
remove credit card, and fix hosted fields
vegimcarkaxhija Sep 3, 2024
5970b0f
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Sep 12, 2024
ba510f7
remove credit card
vegimcarkaxhija Sep 16, 2024
192ab9d
check for hosted fields username and password
vegimcarkaxhija Sep 26, 2024
e29eb75
check for hosted fields username and password
vegimcarkaxhija Sep 26, 2024
9925d05
update error handling
vegimcarkaxhija Sep 26, 2024
0ef018b
update error handling
vegimcarkaxhija Sep 26, 2024
6cc3514
update error handling
vegimcarkaxhija Sep 26, 2024
1d5cc5e
remove credit card
vegimcarkaxhija Sep 27, 2024
aee788e
update error handling
vegimcarkaxhija Sep 27, 2024
4fabbcf
fix front end style
vegimcarkaxhija Sep 27, 2024
10f74bf
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Sep 27, 2024
1cd7046
remove payWithBaseCurrency
vegimcarkaxhija Sep 27, 2024
6f97368
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Oct 17, 2024
527810b
Merge pull request #1016 from jissereitsma/add-csp-variables
vegimcarkaxhija Oct 23, 2024
755f213
add CspNonceFactory
vegimcarkaxhija Oct 23, 2024
42dbfce
fix payconiq csp
vegimcarkaxhija Oct 23, 2024
2c6e548
fix csp
vegimcarkaxhija Oct 23, 2024
e9e6e4a
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Nov 6, 2024
d0a969a
Merge pull request #1090 from buckaroo-it/BP-3851-Update-test-release…
vegimcarkaxhija Nov 6, 2024
6aa91a3
Merge branch 'refs/heads/develop' into BP-3652-Implement-Buckaroo-Hos…
vegimcarkaxhija Nov 6, 2024
671432f
update Buckaroo Hosted Fields
vegimcarkaxhija Nov 6, 2024
2622241
update Buckaroo Hosted Fields
vegimcarkaxhija Nov 6, 2024
9dd3da3
update Buckaroo Hosted Fields
vegimcarkaxhija Nov 6, 2024
9dc26aa
Merge pull request #1091 from buckaroo-it/BP-3652-Implement-Buckaroo-…
vegimcarkaxhija Nov 6, 2024
cc02538
remove Sofort
vegimcarkaxhija Nov 6, 2024
3560d0e
Apply logo changes from media repository
vegimcarkaxhija Nov 6, 2024
313c810
remove Sofort
vegimcarkaxhija Nov 6, 2024
d656157
Merge pull request #1092 from buckaroo-it/BP-3880-Remove-Sofort-Magen…
vegimcarkaxhija Nov 6, 2024
2538265
update translations
vegimcarkaxhija Nov 6, 2024
b61c1b1
Merge pull request #1093 from buckaroo-it/BP-3652-Implement-Buckaroo-…
vegimcarkaxhija Nov 6, 2024
ccbf5bc
update translations
vegimcarkaxhija Nov 6, 2024
dab038f
BP-3862-Adjust-Buckaroo-logo-s-to-the-new-design
AlbinaBaraliu Nov 6, 2024
8f33742
Merge pull request #1094 from buckaroo-it/BP-3862-Adjust-Buckaroo-log…
AlbinaBaraliu Nov 6, 2024
3ed2459
update translations
vegimcarkaxhija Nov 7, 2024
bed0497
Merge pull request #1096 from buckaroo-it/BP-3652-Implement-Buckaroo-…
vegimcarkaxhija Nov 7, 2024
b3ac978
1/2 changes
AlbinaBaraliu Nov 9, 2024
9983acc
fix applepay to return array
vegimcarkaxhija Nov 11, 2024
749a72a
Merge pull request #1097 from buckaroo-it/BP-3894-Fix-An-error-has-ha…
vegimcarkaxhija Nov 11, 2024
e372f03
BP-3899-Payment fee tax is not correct
SandervdHulst Nov 12, 2024
6ac3921
BP-3898-Failed-Riverty-order-is-showing-success-page-despite-multiple…
AlbinaBaraliu Nov 12, 2024
13076c0
fix BuckarooFee
vegimcarkaxhija Nov 12, 2024
f154fa5
Merge pull request #1099 from buckaroo-it/BP-3898-Failed-Riverty-orde…
AlbinaBaraliu Nov 13, 2024
b7c36ae
Merge pull request #1100 from buckaroo-it/BP-3899-Payment-fee-tax-is-…
vegimcarkaxhija Nov 13, 2024
5298565
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
fd143c5
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
54ba0ad
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
c462c18
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
c967c55
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
b683a51
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
f89939f
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
f7d5919
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
3073f6e
BP-3900-PayPal Express transactions PUSH timing issue
SandervdHulst Nov 13, 2024
a1a5624
refactor buckaroo fee
vegimcarkaxhija Nov 14, 2024
b772162
BP-3897-iDEAL-fast-checkout-from-cart-page-always-uses-default-shippi…
AlbinaBaraliu Nov 18, 2024
310c8be
fix text
vegimcarkaxhija Nov 19, 2024
40c9717
BP-3897-iDEAL-fast-checkout-from-cart-page-always-uses-default-shippi…
AlbinaBaraliu Nov 19, 2024
6dea08f
fix text
vegimcarkaxhija Nov 21, 2024
997183a
remove str_starts_with because it is php 8
vegimcarkaxhija Nov 21, 2024
728162f
refactor AddressFormatter.php
vegimcarkaxhija Nov 21, 2024
80f381d
fix style for hosted fields
vegimcarkaxhija Nov 21, 2024
f83f7b8
fix style for hosted fields
vegimcarkaxhija Nov 21, 2024
01706ed
BP-3817-Riverty-terms-and-conditions-changes
AlbinaBaraliu Nov 21, 2024
5384a17
revert changes for old riverty
AlbinaBaraliu Nov 21, 2024
06dca42
fix style for hosted fields
vegimcarkaxhija Nov 21, 2024
432a663
BP-3905-Missing-separator-in-the-checkout-between-Giftcards-and-Riverty
AlbinaBaraliu Nov 22, 2024
74a444b
BP-3905-Missing-separator-in-the-checkout-between-Giftcards-and-Riverty
AlbinaBaraliu Nov 22, 2024
9a553ad
Merge pull request #1103 from buckaroo-it/BP-3897-iDEAL-fast-checkout…
AlbinaBaraliu Nov 22, 2024
7cadc5d
Merge pull request #1106 from buckaroo-it/BP-3817-Riverty-terms-and-c…
AlbinaBaraliu Nov 22, 2024
7edec05
Merge pull request #1107 from buckaroo-it/BP-3905-Missing-separator-i…
AlbinaBaraliu Nov 22, 2024
dad8c7c
fix error message
vegimcarkaxhija Nov 25, 2024
12e273b
Merge pull request #1105 from buckaroo-it/BP-3912-Improve-default-Hos…
vegimcarkaxhija Nov 25, 2024
c73855c
Merge pull request #1104 from buckaroo-it/BP-3915-Klarna-KP-transacti…
vegimcarkaxhija Nov 26, 2024
bdddf0b
Merge pull request #1109 from buckaroo-it/BP-3900-PayPal-Express-tran…
SandervdHulst Nov 27, 2024
c1766ab
always return in switch
vegimcarkaxhija Nov 27, 2024
6b04d54
Merge pull request #1101 from buckaroo-it/BP-3899-Payment-fee-tax-is-…
vegimcarkaxhija Dec 2, 2024
5406f3e
optimizing getAvailableButtons
vegimcarkaxhija Dec 2, 2024
5b0c123
Merge pull request #1110 from buckaroo-it/BP-3904-Check-provided-Mage…
vegimcarkaxhija Dec 2, 2024
23a46d2
Merge branch 'refs/heads/develop' into BP-3689-Add-CSP-Content-Securi…
vegimcarkaxhija Dec 2, 2024
f33b491
Merge pull request #1112 from buckaroo-it/BP-3894-Fix-An-error-has-ha…
vegimcarkaxhija Dec 2, 2024
eceb144
add getCspNonce as a function for fee template
AlbinaBaraliu Dec 2, 2024
60d6eaf
add getCspNonce as a function for success template
AlbinaBaraliu Dec 2, 2024
f8a1430
Merge pull request #1113 from buckaroo-it/BP-3689-Add-CSP-Content-Sec…
vegimcarkaxhija Dec 3, 2024
53d8a44
add status closed when refunded
vegimcarkaxhija Dec 3, 2024
9ac1b20
Merge pull request #1114 from buckaroo-it/BP-3986-iDeal-does-not-upda…
vegimcarkaxhija Dec 3, 2024
598fa2a
check invoice handling for store configs
vegimcarkaxhija Dec 4, 2024
c04dbc3
Merge pull request #1115 from buckaroo-it/BP-3830-Paylink-order-from-…
vegimcarkaxhija Dec 4, 2024
c1ebf8d
add StoreManagerInterface
vegimcarkaxhija Dec 6, 2024
d15ce1f
BP-3817-Riverty-new-terms-and-conditions-changes
AlbinaBaraliu Dec 6, 2024
5a8659d
Merge pull request #1117 from buckaroo-it/BP-3817-Riverty-new-terms-a…
AlbinaBaraliu Dec 6, 2024
bf10e74
fix title in cart
vegimcarkaxhija Dec 6, 2024
50e534c
Merge pull request #1119 from buckaroo-it/BP-4009-buckarooFee.title-i…
vegimcarkaxhija Dec 6, 2024
ab257a4
Merge pull request #1118 from buckaroo-it/BP-3896-Product-link-in-car…
vegimcarkaxhija Dec 6, 2024
58dc7f6
BP-3918-Riverty-old-terms-and-conditions-changes
AlbinaBaraliu Dec 11, 2024
e66a9b6
removed financial warning
AlbinaBaraliu Dec 11, 2024
06f78ac
Merge pull request #1120 from buckaroo-it/BP-3918-Riverty-old-terms-a…
AlbinaBaraliu Dec 11, 2024
811e128
update checkoutSession
vegimcarkaxhija Dec 11, 2024
283a9ff
Merge pull request #1121 from buckaroo-it/BP-3830-Paylink-order-from-…
vegimcarkaxhija Dec 11, 2024
ce2f39c
fix isB2B in billink
AlbinaBaraliu Dec 11, 2024
c6360d5
Merge pull request #1122 from buckaroo-it/fix-isB2B-in-billink
AlbinaBaraliu Dec 11, 2024
4292048
update buckaroofee
vegimcarkaxhija Dec 12, 2024
becb314
update buckaroofee
vegimcarkaxhija Dec 12, 2024
3c333d8
Merge pull request #1123 from buckaroo-it/BP-4026-Payment-Fee-Tax-Cla…
vegimcarkaxhija Dec 12, 2024
4bb5cb9
adding buckaroo logs to Add & pay files
AlbinaBaraliu Dec 20, 2024
d49d0cf
adding buckaroo logs to add, pay, applepay files
AlbinaBaraliu Dec 20, 2024
cb64a99
add logs
AlbinaBaraliu Dec 20, 2024
591780c
hard coded shipping
AlbinaBaraliu Dec 20, 2024
fb3f57e
changed shipping method
AlbinaBaraliu Dec 20, 2024
5a1de16
changed json decode -> encode
AlbinaBaraliu Dec 20, 2024
01456d5
fix fee
vegimcarkaxhija Dec 20, 2024
865b2dd
Apply logo changes from media repository
vegimcarkaxhija Dec 20, 2024
563450a
uncommented
AlbinaBaraliu Dec 20, 2024
7405f18
Merge pull request #1124 from buckaroo-it/BP-4026-Payment-Fee-Tax-Cla…
vegimcarkaxhija Dec 20, 2024
725d281
added log
AlbinaBaraliu Dec 20, 2024
7224908
changed shippingmethod file
AlbinaBaraliu Dec 20, 2024
fff124b
changed shippingmethod file
AlbinaBaraliu Dec 20, 2024
9b2b0cf
changed shippingmethod file
AlbinaBaraliu Dec 20, 2024
200785e
added logs
AlbinaBaraliu Dec 23, 2024
02556fe
added logs
AlbinaBaraliu Dec 23, 2024
179054a
added logs
AlbinaBaraliu Dec 23, 2024
22de156
added logs
AlbinaBaraliu Dec 23, 2024
2a6b10e
added logs
AlbinaBaraliu Dec 23, 2024
c3cd68c
added logs
AlbinaBaraliu Dec 23, 2024
5f08987
added logs
AlbinaBaraliu Dec 23, 2024
fbbe251
added logs
AlbinaBaraliu Dec 23, 2024
a2eb208
added logs
AlbinaBaraliu Dec 23, 2024
9accb88
added shipment estimation
AlbinaBaraliu Dec 23, 2024
e034119
logs
AlbinaBaraliu Dec 23, 2024
fdb0a28
logs
AlbinaBaraliu Dec 23, 2024
ec85242
logs
AlbinaBaraliu Dec 23, 2024
3233ce8
logs
AlbinaBaraliu Dec 23, 2024
b8c4070
logs
AlbinaBaraliu Dec 23, 2024
15c492e
logs
AlbinaBaraliu Dec 23, 2024
cdd4fae
logs
AlbinaBaraliu Dec 23, 2024
bf1a697
logs
AlbinaBaraliu Dec 23, 2024
6b89bff
logs
AlbinaBaraliu Dec 23, 2024
2687401
logs
AlbinaBaraliu Dec 23, 2024
5bf9e1b
logs
AlbinaBaraliu Dec 23, 2024
e03f7b1
removed logs
AlbinaBaraliu Dec 23, 2024
cd887f1
removed logs
AlbinaBaraliu Dec 23, 2024
39c05d7
removed logs
AlbinaBaraliu Dec 23, 2024
d3d6feb
removed logs
AlbinaBaraliu Dec 23, 2024
03ca135
removed logs
AlbinaBaraliu Dec 23, 2024
ec7d1d3
removed logs
AlbinaBaraliu Dec 23, 2024
fe0adc7
Merge pull request #1125 from buckaroo-it/BP-3885-Apple-Pay-transacti…
AlbinaBaraliu Dec 24, 2024
006c86b
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Dec 27, 2024
086989e
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
f3b3019
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
29f7e37
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
dd49719
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
677c27c
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
ec5b94a
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
6cf6445
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
213579c
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
7efc9cc
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
1523a11
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 3, 2025
d5900ab
Updates the 'is_closed' status of all payment transactions for a give…
vegimcarkaxhija Jan 8, 2025
94ffcfd
update
vegimcarkaxhija Jan 9, 2025
1a42084
update
vegimcarkaxhija Jan 13, 2025
6f1cdab
update
vegimcarkaxhija Jan 13, 2025
2023083
Merge pull request #1127 from buckaroo-it/BP-4056-Klarna-KP-capture-a…
vegimcarkaxhija Jan 13, 2025
1b54eab
update
vegimcarkaxhija Jan 14, 2025
e235626
update
vegimcarkaxhija Jan 14, 2025
85d76af
update
vegimcarkaxhija Jan 14, 2025
72c0a90
update
vegimcarkaxhija Jan 14, 2025
4dd5f73
update
vegimcarkaxhija Jan 14, 2025
65624e5
update
vegimcarkaxhija Jan 14, 2025
f8f226b
update
vegimcarkaxhija Jan 14, 2025
7fe2cfb
update
vegimcarkaxhija Jan 14, 2025
50b8d84
Merge pull request #1128 from buckaroo-it/BP-4056-Klarna-KP-capture-a…
vegimcarkaxhija Jan 14, 2025
3db74e4
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 14, 2025
80390a4
BP-4056 Klarna KP capture after invoice/shipment fails when first pus…
SandervdHulst Jan 14, 2025
6f6cbae
adding logs
AlbinaBaraliu Jan 15, 2025
b8a01b3
adding logs
AlbinaBaraliu Jan 15, 2025
e09aa34
adding logs
AlbinaBaraliu Jan 15, 2025
f2cd33e
fix url for datarequest
vegimcarkaxhija Jan 15, 2025
db77a1a
Merge pull request #1130 from buckaroo-it/BP-4099-Klarna-KP-link-to-t…
vegimcarkaxhija Jan 15, 2025
e5a475d
ideal-fast-checkout keep cart alive from product page
vegimcarkaxhija Jan 15, 2025
9723a14
Merge pull request #1131 from buckaroo-it/BP-4108-Cart-Alive-works-on…
vegimcarkaxhija Jan 15, 2025
2691350
update paybybank issuer images
vegimcarkaxhija Jan 15, 2025
e9d934e
Merge pull request #1132 from buckaroo-it/BP-4113-PayByBank-issuer-im…
vegimcarkaxhija Jan 15, 2025
15fab62
Merge pull request #1129 from buckaroo-it/BP-4074-Double-successful-P…
SandervdHulst Jan 15, 2025
3e4ac57
adding logs
AlbinaBaraliu Jan 15, 2025
24d6eff
Merge branch 'develop' into BP-4031-Invoice-on-shipment-setting-fails…
AlbinaBaraliu Jan 15, 2025
d556189
commented a line in CreateInvoice.php
AlbinaBaraliu Jan 16, 2025
ce46623
saveorder changes
AlbinaBaraliu Jan 16, 2025
f6e7186
saveorder changes
AlbinaBaraliu Jan 16, 2025
437665a
small changes
AlbinaBaraliu Jan 16, 2025
b2e37be
small changes
AlbinaBaraliu Jan 16, 2025
a4913f6
small changes
AlbinaBaraliu Jan 16, 2025
97cff41
small changes
AlbinaBaraliu Jan 16, 2025
32eddc3
small changes
AlbinaBaraliu Jan 16, 2025
21799ea
small changes
AlbinaBaraliu Jan 16, 2025
749f6eb
small changes
AlbinaBaraliu Jan 16, 2025
512725f
small changes
AlbinaBaraliu Jan 16, 2025
8cd64d3
update payment methods name
vegimcarkaxhija Jan 17, 2025
a3d1ac0
Merge pull request #1133 from buckaroo-it/BP-4114-Make-sure-payment-m…
vegimcarkaxhija Jan 17, 2025
8ca33fd
reverted changes in push file
AlbinaBaraliu Jan 17, 2025
f2cc541
removed logs
AlbinaBaraliu Jan 17, 2025
da65a92
changed if in SalesOrderShipmentAfter.php
AlbinaBaraliu Jan 17, 2025
c3b9f25
removed logs
AlbinaBaraliu Jan 17, 2025
0e45b80
changed if
AlbinaBaraliu Jan 17, 2025
97715ae
removed logs
AlbinaBaraliu Jan 17, 2025
3380710
reverted changes in SetTransactionOnInvoiceObserver.php
AlbinaBaraliu Jan 17, 2025
94093b6
added setPayment as it was
AlbinaBaraliu Jan 17, 2025
ce33997
Merge pull request #1134 from buckaroo-it/BP-4031-Invoice-on-shipment…
AlbinaBaraliu Jan 17, 2025
c603de8
update payment methods name, and add default name when you leave name…
vegimcarkaxhija Jan 20, 2025
0537bbb
Merge pull request #1135 from buckaroo-it/BP-4114-Make-sure-payment-m…
SandervdHulst Jan 20, 2025
8bee4dc
Revert "Merge pull request #1105 from buckaroo-it/BP-3912-Improve-def…
vegimcarkaxhija Jan 20, 2025
6fd03da
Revert "Merge pull request #1096 from buckaroo-it/BP-3652-Implement-B…
vegimcarkaxhija Jan 20, 2025
b76c5f9
Revert "Merge pull request #1093 from buckaroo-it/BP-3652-Implement-B…
vegimcarkaxhija Jan 20, 2025
7f3d44f
Revert "Merge pull request #1091 from buckaroo-it/BP-3652-Implement-B…
vegimcarkaxhija Jan 20, 2025
5b4dd94
Merge pull request #1136 from buckaroo-it/remove-hosted-fields
vegimcarkaxhija Jan 20, 2025
2bcfde4
Update additional module logo's in README.md (#1139)
Buckaroo-Rene Jan 21, 2025
227673e
BP-4074-Double successful PUSH causes issues for specific merchant th…
SandervdHulst Jan 21, 2025
05d32f8
Merge pull request #1141 from buckaroo-it/BP-4074-Double-successful-P…
SandervdHulst Jan 21, 2025
efecfdc
BP-4074-Double successful PUSH causes issues for specific merchant th…
SandervdHulst Jan 22, 2025
132ff73
Merge pull request #1143 from buckaroo-it/BP-4145-Invoice-is-not-auto…
SandervdHulst Jan 22, 2025
bc23055
Revert "BP-4145 Invoice is not automatically created for EPS"
SandervdHulst Jan 22, 2025
eadedf2
Merge pull request #1144 from buckaroo-it/revert-1143-BP-4145-Invoice…
SandervdHulst Jan 22, 2025
bc7d792
update version number
vegimcarkaxhija Jan 22, 2025
ad220f1
Merge pull request #1145 from buckaroo-it/BP-3982-Update-Test-Release…
vegimcarkaxhija Jan 22, 2025
bdc777e
remove default
vegimcarkaxhija Jan 22, 2025
b440d9f
Merge pull request #1147 from buckaroo-it/remove-default-from-xml
vegimcarkaxhija Jan 22, 2025
cc9fcb6
Merge branch 'develop' into master-to-develop
vegimcarkaxhija Jan 22, 2025
687f5ba
remove giropay
vegimcarkaxhija Jan 22, 2025
7f24234
revert changes
vegimcarkaxhija Jan 22, 2025
10cef65
Merge pull request #1153 from buckaroo-it/master-to-develop
vegimcarkaxhija Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Copy payment method icons
run: |
cd "${{ github.workspace }}/Media/Payment methods/SVG/"
rm -f ideal-qr.svg knaken.svg paylink.svg paybybank.svg pos-nfc.svg
rm -f ideal-qr.svg knaken.svg paylink.svg paybybank.svg pos-nfc.svg giropay.svg sofort.svg
cd ${{ github.workspace }}/Media
cp -R "Payment methods/SVG/." ${{ github.workspace }}/view/base/web/images/svg/
- name: Copy creditcards icons
Expand All @@ -35,7 +35,7 @@ jobs:
rm -f vvvlekkerweg.svg vvvshopchill.svg
cd ${{ github.workspace }}/Media
cp -R "Giftcards/SVG/." ${{ github.workspace }}/view/base/web/images/giftcards/

- name: Copy payment issuers icons
run: |
cd Media
Expand Down
19 changes: 5 additions & 14 deletions Block/Adminhtml/Sales/Totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,9 @@ public function __construct(
public function initTotals()
{
$parent = $this->getParentBlock();
/**
* @noinspection PhpUndefinedMethodInspection
*/
$source = $parent->getSource();
$totals = $this->getTotalsForCreditmemo($source);
foreach ($totals as $total) {
/**
* @noinspection PhpUndefinedMethodInspection
*/
$this->getParentBlock()->addTotalBefore(new \Magento\Framework\DataObject($total), 'grand_total');
}
return $this;
Expand All @@ -72,12 +66,9 @@ public function initTotals()
public function getTotals()
{
$parent = $this->getParentBlock();
/**
* @noinspection PhpUndefinedMethodInspection
*/
$source = $parent->getSource();


return $this->getTotalsForCreditmemo($source);
}

Expand All @@ -92,7 +83,7 @@ public function getCurrentCurrencySymbol()
}

/**
* For credit memo display the fees from invoice/order,
* For credit memo display the fees from invoice/order,
* check if invoice has that fee and set selected
*
* @param mixed $source
Expand All @@ -107,7 +98,7 @@ protected function getTotalsForCreditmemo($source)
$invoice = $source->getInvoice();
$salesModel = ($invoice != null? $invoice : $order);
$saleTotals = $this->helper->getTotals($salesModel);

$saleTotals = array_map(function($saleTotal) use($creditTotals) {
if (in_array($saleTotal['code'],['buckaroo_fee', 'buckaroo_fee_excl'] )) {
$saleTotal['block_name'] = "buckaroo_fee";
Expand All @@ -116,12 +107,12 @@ protected function getTotalsForCreditmemo($source)
return $saleTotal;
}, $saleTotals);


return array_merge(
$this->getTotalsByCode($creditTotals, 'buckaroo_already_paid'),
$this->getTotalsExceptCode($saleTotals, 'buckaroo_already_paid')
);

}
return $this->helper->getTotals($source);
}
Expand Down
60 changes: 46 additions & 14 deletions Block/Cart/BuckarooConfig.php
Original file line number Diff line number Diff line change
@@ -1,37 +1,58 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License
* It is available through the world-wide-web at this URL:
* https://tldrlegal.com/license/mit-license
* If you are unable to obtain it through the world-wide-web, please send an email
* to support@buckaroo.nl so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please contact support@buckaroo.nl for more information.
*
* @copyright Copyright (c) Buckaroo B.V.
* @license https://tldrlegal.com/license/mit-license
*/

namespace Buckaroo\Magento2\Block\Cart;

class BuckarooConfig extends \Magento\Backend\Block\Template
use Buckaroo\Magento2\Exception;
use Buckaroo\Magento2\Model\ConfigProvider\Factory;
use Magento\Backend\Block\Template;
use Magento\Backend\Block\Template\Context;
use Magento\Framework\Serialize\Serializer\Json;

class BuckarooConfig extends Template
{
/**
* @var bool
*/
protected $_isScopePrivate = false;

/**
* @var \Buckaroo\Magento2\Model\ConfigProvider\Factory
* @var Factory
*/
protected $configProviderFactory;

/**
* @var \Magento\Framework\Json\Encoder
* @var Json
*/
protected $jsonEncoder;

/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Framework\Json\Encoder $jsonEncoder
* @param \Buckaroo\Magento2\Model\ConfigProvider\Factory $configProviderFactory
* @param array $data
* @param Context $context
* @param Json $jsonEncoder
* @param Factory $configProviderFactory
* @param array $data
*/
public function __construct(
\Magento\Backend\Block\Template\Context $context,
\Magento\Framework\Json\Encoder $jsonEncoder,
\Buckaroo\Magento2\Model\ConfigProvider\Factory $configProviderFactory,
Context $context,
Json $jsonEncoder,
Factory $configProviderFactory,
array $data = []
) {
parent::__construct($context, $data);
Expand All @@ -42,11 +63,22 @@ public function __construct(
/**
* Retrieve buckaroo configuration
*
* @return array
* @return string
* @throws Exception
*/
public function getBuckarooConfigJson()
{
$configProvider = $this->configProviderFactory->get('buckaroo_fee');
return $this->jsonEncoder->encode($configProvider->getConfig());
return $this->jsonEncoder->serialize($configProvider->getConfig());
}

/**
* Get CSP nonce
*
* @return string
*/
public function getCspNonce()
{
return $this->getData('cspNonce') ?: '';
}
}
18 changes: 14 additions & 4 deletions Block/Catalog/Product/View/Applepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

use Magento\Checkout\Model\Cart;
use Magento\Checkout\Model\CompositeConfigProvider;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\View\Element\Template;
use Magento\Framework\View\Element\Template\Context;
use Buckaroo\Magento2\Model\ConfigProvider\Method\Applepay as ApplepayConfig;
Expand Down Expand Up @@ -58,13 +59,22 @@ public function __construct(
}

/**
* @param $page
* @return bool
* @throws NoSuchEntityException
*/
public function canShowButton($page)
public function canShowButton($page): bool
{
return $this->isModuleActive() &&
in_array($page, $this->applepayConfigProvider->getAvailableButtons()) &&
$this->applepayConfigProvider->isApplePayEnabled($this->_storeManager->getStore());
if (!$this->isModuleActive()) {
return false;
}

$availableButtons = $this->applepayConfigProvider->getAvailableButtons();
if (!in_array($page, $availableButtons, true)) {
return false;
}

return $this->applepayConfigProvider->isApplePayEnabled($this->_storeManager->getStore());
}

/**
Expand Down
12 changes: 11 additions & 1 deletion Block/Checkout/Success.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Success extends \Magento\Checkout\Block\Onepage\Success
protected $currentCustomer;

/**
* @param Template\Context $context
* @param \Magento\Framework\View\Element\Template\Context $context
* @param \Magento\Checkout\Model\Session $checkoutSession
* @param \Magento\Sales\Model\Order\Config $orderConfig
* @param \Magento\Framework\App\Http\Context $httpContext
Expand All @@ -52,4 +52,14 @@ public function __construct(
);
$this->currentCustomer = $currentCustomer;
}

/**
* Get CSP nonce
*
* @return string
*/
public function getCspNonce()
{
return $this->getData('cspNonce') ?: '';
}
}
1 change: 0 additions & 1 deletion Block/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public function getPaymentLogo(string $method): string
"mrcash" => "svg/bancontact.svg",
"p24" => "svg/przelewy24.svg",
"sepadirectdebit" => "svg/sepa-directdebit.svg",
"sofortbanking" => "svg/sofort.svg",
"emandate" => "emandate.png",
"pospayment" => "pos.png",
"transfer" => "svg/sepa-credittransfer.svg",
Expand Down
2 changes: 0 additions & 2 deletions Block/Widget/Button/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ class Toolbar
'buckaroo_magento2_paypal',
'buckaroo_magento2_payconiq',
'buckaroo_magento2_sepadirectdebit',
'buckaroo_magento2_sofortbanking',
'buckaroo_magento2_belfius',
'buckaroo_magento2_transfer',
'buckaroo_magento2_eps',
'buckaroo_magento2_giropay',
'buckaroo_magento2_kbc',
'buckaroo_magento2_klarna',
'buckaroo_magento2_klarnakp',
Expand Down
14 changes: 13 additions & 1 deletion Controller/Applepay/SaveOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
namespace Buckaroo\Magento2\Controller\Applepay;

use Buckaroo\Magento2\Logging\Log;
use Buckaroo\Magento2\Model\Config\Source\InvoiceHandlingOptions;
use Buckaroo\Magento2\Model\ConfigProvider\Account;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\View\Result\Page;
Expand All @@ -35,6 +37,7 @@ class SaveOrder extends Common
protected $order;
protected $checkoutSession;
protected $accountConfig;
private $configAccount;

/**
* @param Context $context
Expand All @@ -47,6 +50,7 @@ public function __construct(
\Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory,
Log $logger,
\Magento\Checkout\Model\Cart $cart,
Account $configAccount,
\Magento\Quote\Model\QuoteManagement $quoteManagement,
\Magento\Customer\Model\Session $customer,
\Magento\Framework\DataObjectFactory $objectFactory,
Expand All @@ -69,7 +73,7 @@ public function __construct(
$converter,
$customerSession
);

$this->configAccount = $configAccount;
$this->quoteManagement = $quoteManagement;
$this->customer = $customer;
$this->objectFactory = $objectFactory;
Expand Down Expand Up @@ -126,6 +130,14 @@ public function execute()
$payment->setMethod(Applepay::PAYMENT_METHOD_CODE);
$quote->setPayment($payment);


$invoiceHandlingConfig = $this->configAccount->getInvoiceHandling($this->order->getStore());

if ($invoiceHandlingConfig == InvoiceHandlingOptions::SHIPMENT) {
$payment->setAdditionalInformation(InvoiceHandlingOptions::INVOICE_HANDLING, $invoiceHandlingConfig);
$payment->save();
$quote->setPayment($payment);
}
$quote->collectTotals()->save();

$obj = $this->objectFactory->create();
Expand Down
Loading
Loading