Mollie Payments for WooCommerce - Version 5.11.0

Version Description

  • 11-11-2020 =

  • Fix - Google analytics duplicated tracking events

  • Fix - Prevent third party plugins from changing billingCountry field

  • Fix - Mollie Components string "secure payments..." not translated

  • Fix - Credit card icons not displaying correctly

Download this release

Release Info

Developer carmen222
Plugin Icon wp plugin Mollie Payments for WooCommerce
Version 5.11.0
Comparing to
See all releases

Code changes from version 5.10.0 to 5.11.0

Files changed (37) hide show
  1. languages/mollie-payments-for-woocommerce-de_DE.mo +0 -0
  2. languages/mollie-payments-for-woocommerce-de_DE.po +2 -2
  3. languages/mollie-payments-for-woocommerce-de_DE_formal.mo +0 -0
  4. languages/mollie-payments-for-woocommerce-de_DE_formal.po +2 -2
  5. languages/mollie-payments-for-woocommerce-es_ES.mo +0 -0
  6. languages/mollie-payments-for-woocommerce-es_ES.po +2 -2
  7. languages/mollie-payments-for-woocommerce-fr_FR.mo +0 -0
  8. languages/mollie-payments-for-woocommerce-fr_FR.po +2 -2
  9. languages/mollie-payments-for-woocommerce-it_IT.mo +0 -0
  10. languages/mollie-payments-for-woocommerce-it_IT.po +2 -2
  11. languages/mollie-payments-for-woocommerce-nl_BE.mo +0 -0
  12. languages/mollie-payments-for-woocommerce-nl_BE.po +2 -2
  13. languages/mollie-payments-for-woocommerce-nl_NL.mo +0 -0
  14. languages/mollie-payments-for-woocommerce-nl_NL.po +2 -2
  15. languages/mollie-payments-for-woocommerce-nl_NL_formal.mo +0 -0
  16. languages/mollie-payments-for-woocommerce-nl_NL_formal.po +2 -2
  17. mollie-payments-for-woocommerce.php +2 -2
  18. public/images/applepay.svg +1 -10
  19. public/images/creditcard.svg +55 -55
  20. public/images/giftcard.svg +58 -49
  21. public/images/klarna-paylater.svg +4 -8
  22. public/images/klarna.svg +4 -4
  23. public/images/klarnapaylater.svg +5 -1
  24. public/images/klarnasliceit.svg +4 -8
  25. public/images/przelewy24.svg +1 -1
  26. public/images/sofort.svg +4 -15
  27. public/images/voucher.svg +59 -1
  28. readme.txt +8 -1
  29. src/Mollie/WC/Gateway/Abstract.php +90 -39
  30. src/Mollie/WC/Gateway/Creditcard.php +6 -1
  31. src/Mollie/WC/Helper/PaymentMethodsIconUrl.php +2 -4
  32. src/Mollie/WC/Payment/Order.php +29 -50
  33. src/Mollie/WC/Payment/Payment.php +10 -19
  34. src/Mollie/WC/Plugin.php +1 -1
  35. vendor/autoload.php +1 -1
  36. vendor/composer/autoload_real.php +7 -7
  37. vendor/composer/autoload_static.php +5 -5
languages/mollie-payments-for-woocommerce-de_DE.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-de_DE.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Basisformat"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Sichere Zahlungen bereitgestellt durch"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Basisformat"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Sichere Zahlungen bereitgestellt durch %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-de_DE_formal.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-de_DE_formal.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Basisformat"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Sichere Zahlungen bereitgestellt durch "
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Basisformat"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Sichere Zahlungen bereitgestellt durch %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-es_ES.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-es_ES.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Estilos base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Pagos seguros ofrecidos por "
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Estilos base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Pagos seguros ofrecidos por %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-fr_FR.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-fr_FR.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Styles de base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Paiements sécurisés effectués par"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Styles de base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Paiements sécurisés effectués par %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-it_IT.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-it_IT.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Stili di base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Pagamenti sicuri messi a disposizione da "
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Stili di base"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Pagamenti sicuri messi a disposizione da %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-nl_BE.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-nl_BE.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Beveiligde betalingen verschaft door "
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Beveiligde betalingen verschaft door %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-nl_NL.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-nl_NL.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Beveiligde betalingen verschaft door"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Beveiligde betalingen verschaft door %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
languages/mollie-payments-for-woocommerce-nl_NL_formal.mo CHANGED
Binary file
languages/mollie-payments-for-woocommerce-nl_NL_formal.po CHANGED
@@ -165,8 +165,8 @@ msgid "Base Styles"
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
- msgid "Secure payments provided by "
169
- msgstr "Beveiligde betalingen verschaft door "
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
165
  msgstr "Basisstijlen"
166
 
167
  #: src/Mollie/WC/Gateway/Abstract.php:2056
168
+ msgid "%1$s Secure payments provided by %2$s"
169
+ msgstr "%1$s Beveiligde betalingen verschaft door %2$s"
170
 
171
  #: src/Mollie/WC/Plugin.php:431
172
  msgid "An unknown error occurred, please check the card fields."
mollie-payments-for-woocommerce.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://www.mollie.com
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
- * Version: 5.10.0
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
@@ -12,7 +12,7 @@
12
  * Domain Path: /languages
13
  * License: GPLv2 or later
14
  * WC requires at least: 2.2.0
15
- * WC tested up to: 4.6
16
  */
17
 
18
  use Mollie\Api\CompatibilityChecker;
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://www.mollie.com
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
+ * Version: 5.11.0
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
12
  * Domain Path: /languages
13
  * License: GPLv2 or later
14
  * WC requires at least: 2.2.0
15
+ * WC tested up to: 4.7
16
  */
17
 
18
  use Mollie\Api\CompatibilityChecker;
public/images/applepay.svg CHANGED
@@ -1,10 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="32" height="25" enable-background="new 0 0 165.52107 105.9651" version="1.1" viewBox="0 0 165.52107 105.9651" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
3
- <path d="m150.7 0h-135.87c-0.5659 0-1.1328 0-1.6977 0.0033-0.47751 0.0034-0.95391 0.0087-1.4303 0.0217-1.039 0.0281-2.0869 0.0894-3.1129 0.2738-1.0424 0.1876-2.0124 0.4936-2.9587 0.9754-0.9303 0.4731-1.782 1.0919-2.5201 1.8303-0.73841 0.7384-1.3572 1.5887-1.8302 2.52-0.4819 0.9463-0.7881 1.9166-0.9744 2.9598-0.18539 1.0263-0.2471 2.074-0.2751 3.1119-0.0128 0.4764-0.01829 0.9528-0.0214 1.4291-0.0033 0.5661-0.0022 1.1318-0.0022 1.6989v76.318c0 0.5671-0.0011 1.1318 0.0022 1.699 0.00311 0.4763 0.0086 0.9527 0.0214 1.4291 0.028 1.037 0.08971 2.0847 0.2751 3.1107 0.1863 1.0436 0.4925 2.0135 0.9744 2.9599 0.473 0.9313 1.0918 1.7827 1.8302 2.52 0.73809 0.7396 1.5898 1.3583 2.5201 1.8302 0.9463 0.4831 1.9163 0.7892 2.9587 0.9767 1.026 0.1832 2.0739 0.2456 3.1129 0.2737 0.4764 0.0108 0.9528 0.0172 1.4303 0.0194 0.56489 0.0044 1.1318 0.0044 1.6977 0.0044h135.87c0.5649 0 1.1318 0 1.6966-0.0044 0.47641-0.0022 0.95282-0.0086 1.4314-0.0194 1.0368-0.0281 2.0845-0.0905 3.113-0.2737 1.041-0.1875 2.0112-0.4936 2.9576-0.9767 0.9313-0.4719 1.7805-1.0906 2.5201-1.8302 0.7372-0.7373 1.356-1.5887 1.8302-2.52 0.48299-0.9464 0.78889-1.9163 0.97429-2.9599 0.1855-1.026 0.2457-2.0737 0.2738-3.1107 0.013-0.4764 0.01941-0.9528 0.02161-1.4291 0.00439-0.5672 0.00439-1.1319 0.00439-1.699v-76.318c0-0.5671 0-1.1328-0.00439-1.6989-0.0022-0.4763-0.00861-0.9527-0.02161-1.4291-0.02811-1.0379-0.0883-2.0856-0.2738-3.1119-0.18539-1.0432-0.4913-2.0135-0.97429-2.9598-0.47421-0.9313-1.093-1.7816-1.8302-2.52-0.73961-0.7384-1.5888-1.3572-2.5201-1.8303-0.9464-0.4818-1.9166-0.7878-2.9576-0.9754-1.0285-0.1844-2.0762-0.2457-3.113-0.2738-0.47858-0.013-0.95499-0.0183-1.4314-0.0217-0.56478-0.0033-1.1317-0.0033-1.6966-0.0033z"/>
4
- <path d="m150.7 3.532l1.6715 0.0032c0.4528 0.0032 0.90561 0.0081 1.3609 0.0205 0.79201 0.0214 1.7185 0.0643 2.5821 0.2191 0.7507 0.1352 1.3803 0.3408 1.9845 0.6484 0.5965 0.3031 1.143 0.7003 1.6202 1.1768 0.479 0.4797 0.87671 1.0271 1.1838 1.6302 0.30589 0.5995 0.51019 1.2261 0.64459 1.9823 0.1544 0.8542 0.1971 1.7832 0.21881 2.5801 0.01219 0.4498 0.01819 0.8996 0.0204 1.3601 0.00429 0.5569 0.0042 1.1135 0.0042 1.6715v76.318c0 0.558 9e-5 1.1136-0.0043 1.6824-0.00211 0.4497-0.0081 0.8995-0.0204 1.3501-0.02161 0.7957-0.0643 1.7242-0.2206 2.5885-0.13251 0.7458-0.3367 1.3725-0.64429 1.975-0.30621 0.6016-0.70331 1.1484-1.1802 1.6251-0.47989 0.48-1.0246 0.876-1.6282 1.1819-0.5997 0.3061-1.2282 0.51151-1.9715 0.6453-0.88109 0.157-1.8464 0.2002-2.5734 0.2199-0.4574 0.0103-0.9126 0.01649-1.3789 0.0187-0.55571 0.0043-1.1134 0.0042-1.6692 0.0042h-135.87-0.0221c-0.5494 0-1.0999 0-1.6593-0.0043-0.4561-0.00211-0.9112-0.0082-1.3512-0.0182-0.7436-0.0201-1.7095-0.0632-2.5834-0.2193-0.74969-0.1348-1.3782-0.3402-1.9858-0.6503-0.59789-0.3032-1.1422-0.6988-1.6223-1.1797-0.4764-0.4756-0.8723-1.0207-1.1784-1.6232-0.3064-0.6019-0.5114-1.2305-0.64619-1.9852-0.15581-0.8626-0.19861-1.7874-0.22-2.5777-0.01221-0.4525-0.01731-0.9049-0.02021-1.3547l-0.0022-1.3279 1e-4 -0.3506v-76.318l-1e-4 -0.3506 0.0021-1.3251c3e-3 -0.4525 0.0081-0.9049 0.02031-1.357 0.02139-0.7911 0.06419-1.7163 0.22129-2.5861 0.1336-0.7479 0.3385-1.3765 0.6465-1.9814 0.3037-0.5979 0.7003-1.1437 1.1792-1.6225 0.477-0.4772 1.0231-0.8739 1.6248-1.1799 0.6011-0.3061 1.2308-0.5116 1.9805-0.6465 0.8638-0.1552 1.7909-0.198 2.5849-0.2195 0.4526-0.0123 0.9052-0.0172 1.3544-0.0203l1.6771-0.0033h135.87" fill="#fff"/>
5
- <path d="m45.186 35.641c1.4172-1.7727 2.379-4.1528 2.1253-6.5851-2.0746 0.10316-4.6063 1.3687-6.0721 3.1428-1.3161 1.5192-2.4809 3.999-2.1772 6.3293 2.3289 0.20201 4.6556-1.1641 6.124-2.887"/>
6
- <path d="m47.285 38.983c-3.3821-0.20146-6.2577 1.9195-7.8729 1.9195-1.616 0-4.0893-1.818-6.7644-1.769-3.4818 0.05114-6.7124 2.0198-8.4793 5.1508-3.6341 6.2636-0.95904 15.555 2.5749 20.656 1.7162 2.5238 3.7845 5.3027 6.5098 5.2029 2.5749-0.10104 3.5842-1.6673 6.7142-1.6673 3.1276 0 4.0368 1.6673 6.7625 1.6168 2.8266-0.05054 4.5938-2.5251 6.31-5.0513 1.9688-2.877 2.7747-5.655 2.8254-5.8075-0.0507-0.05051-5.4506-2.122-5.5006-8.3336-0.05098-5.201 4.2395-7.6749 4.4414-7.8283-2.4229-3.5834-6.2086-3.9875-7.521-4.089"/>
7
- <path d="m76.734 31.944c7.351 0 12.47 5.0671 12.47 12.444 0 7.4036-5.2241 12.497-12.654 12.497h-8.1389v12.943h-5.8804v-37.885h14.204zm-8.3233 20.005h6.7473c5.1198 0 8.0336-2.7564 8.0336-7.5348 0-4.7779-2.9138-7.5084-8.0073-7.5084h-6.7736v15.043z"/>
8
- <path d="m90.74 61.979c0-4.8311 3.7018-7.7976 10.266-8.1653l7.5606-0.44614v-2.1264c0-3.0718-2.0742-4.9096-5.539-4.9096-3.2825 0-5.3304 1.5749-5.8287 4.0431h-5.3557c0.31499-4.9886 4.5678-8.6641 11.394-8.6641 6.6947 0 10.974 3.5443 10.974 9.0839v19.034h-5.4347v-4.5419h-0.13065c-1.6012 3.0718-5.0934 5.0144-8.7162 5.0144-5.4084 0-9.1892-3.3605-9.1892-8.3222zm17.826-2.494v-2.179l-6.8 0.41981c-3.3868 0.23649-5.3031 1.7329-5.3031 4.0958 0 2.415 1.9952 3.9905 5.0408 3.9905 3.9641 0 7.0623-2.7305 7.0623-6.327z"/>
9
- <path d="m119.34 79.989v-4.5946c0.4193 0.10483 1.3642 0.10483 1.8372 0.10483 2.6252 0 4.0431-1.1024 4.9091-3.9378 0-0.05267 0.49931-1.6802 0.49931-1.7066l-9.9762-27.646h6.1427l6.9843 22.474h0.10432l6.9843-22.474h5.9857l-10.345 29.063c-2.3619 6.6952-5.0924 8.8479-10.816 8.8479-0.47297 0-1.8909-0.05267-2.3102-0.13116z"/>
10
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24"><g fill="none" fill-rule="evenodd"><rect width="31" height="23" x=".5" y=".5" fill="#FFF" stroke="#000" rx="5"/><path fill="#000" fill-rule="nonzero" d="M4.53173976 1.30500241C4.80223614.966689157 4.98579277.512404819 4.93738795.0481927711 4.54141687.0678939759 4.05823614.309416867 3.77848675.648019277 3.52730602.937966265 3.30498313 1.41125783 3.36293012 1.85601928 3.80742169 1.89457349 4.25150843 1.6338506 4.53173976 1.30500241M4.93233735 1.94286265C4.2868241 1.90440482 3.73800482 2.30920482 3.4297253 2.30920482 3.12131084 2.30920482 2.64925301 1.96223614 2.1386988 1.97158554 1.47417831 1.98133976.857580723 2.35706988.520346988 2.95464096-.173243373 4.15011084.337310843 5.92339277 1.01179759 6.89702169 1.33935422 7.37871807 1.73409157 7.90908916 2.25424578 7.8900241 2.74569639 7.87074699 2.93831325 7.57181687 3.53569157 7.57181687 4.13262651 7.57181687 4.30613976 7.8900241 4.82637108 7.88038554 5.36586024 7.87074699 5.70313253 7.39845783 6.03068916 6.91631807 6.40643855 6.36720964 6.5602506 5.83701205 6.56992771 5.80790361 6.5602506 5.79826506 5.52965783 5.40289157 5.52009639 4.21736867 5.51036145 3.22471325 6.32923373 2.75255904 6.36776867 2.72327711 5.9053494 2.03934458 5.1828241 1.96223614 4.93233735 1.94286265" transform="translate(3.855 7.59)"/><path fill="#000" fill-rule="nonzero" d="M15.2237494 8.18991807C16.6267373 8.18991807 17.6037783 9.15701205 17.6037783 10.5650313 17.6037783 11.9780819 16.6067277 12.9502458 15.1886651 12.9502458L13.6352771 12.9502458 13.6352771 15.420453 12.5128675 15.420453 12.5128675 8.18991807 15.2237494 8.18991807zM13.6352771 12.0081349L14.9230651 12.0081349C15.9002024 12.0081349 16.4563277 11.4820627 16.4563277 10.5700627 16.4563277 9.65815904 15.9002024 9.13700241 14.9280771 9.13700241L13.6352771 9.13700241 13.6352771 12.0081349zM17.8822361 13.9223518C17.8822361 12.9952771 18.5887614 12.4641349 19.8915084 12.3840193L21.2894843 12.2987566 21.2894843 11.897947C21.2894843 11.3116723 20.903653 10.9909783 20.2172337 10.9909783 19.6509494 10.9909783 19.2400771 11.2816 19.1549301 11.7275566L18.1427084 11.7275566C18.1728578 10.7905157 19.0547084 10.1091277 20.2472867 10.1091277 21.5300434 10.1091277 22.3668434 10.7805687 22.3668434 11.822747L22.3668434 15.420453 21.3295807 15.420453 21.3295807 14.5536771 21.304559 14.5536771C21.008906 15.1198651 20.3574747 15.475547 19.6509494 15.475547 18.6087518 15.475547 17.8822361 14.8542651 17.8822361 13.9223518zM21.2894843 13.4563084L21.2894843 13.0503711 20.041812 13.1305831C19.3403181 13.1756337 18.9745928 13.4362024 18.9745928 13.8922024 18.9745928 14.3331277 19.3553928 14.6188337 19.9516337 14.6188337 20.7132337 14.6188337 21.2894843 14.1326651 21.2894843 13.4563084zM23.3204048 17.354641L23.3204048 16.4878651C23.3905735 16.4977349 23.5608867 16.5077783 23.6510458 16.5077783 24.1471614 16.5077783 24.4277398 16.2974651 24.5981494 15.7562217L24.6983711 15.4355277 22.7992675 10.1742651 23.9717398 10.1742651 25.294612 14.4433157 25.3196337 14.4433157 26.642506 10.1742651 27.7850217 10.1742651 25.8157494 15.7011277C25.3647807 16.9688096 24.8486554 17.3847904 23.7562988 17.3847904 23.6711518 17.3847904 23.3955084 17.374747 23.3204048 17.354641z"/></g></svg>
 
 
 
 
 
 
 
 
 
public/images/creditcard.svg CHANGED
@@ -1,56 +1,56 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="32" height="24">
3
- <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="white"/>
4
- </mask>
5
- <g mask="url(#mask0)">
6
- <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="url(#paint0_linear)"/>
7
- <path opacity="0.1" d="M31.5 63C48.897 63 63 48.897 63 31.5C63 14.103 48.897 0 31.5 0C14.103 0 0 14.103 0 31.5C0 48.897 14.103 63 31.5 63Z" transform="translate(6 6)" fill="url(#paint1_linear)"/>
8
- <path opacity="0.1" d="M16.5 33C25.6127 33 33 25.6127 33 16.5C33 7.3873 25.6127 0 16.5 0C7.3873 0 0 7.3873 0 16.5C0 25.6127 7.3873 33 16.5 33Z" transform="translate(-10 12)" fill="url(#paint2_linear)"/>
9
- <path opacity="0.1" d="M26.5 53C41.1355 53 53 41.1355 53 26.5C53 11.8645 41.1355 0 26.5 0C11.8645 0 0 11.8645 0 26.5C0 41.1355 11.8645 53 26.5 53Z" transform="translate(16 -31)" fill="url(#paint3_linear)"/>
10
- <g filter="url(#filter0_d)">
11
- <path d="M6 0H1C0.447715 0 0 0.447715 0 1V4C0 4.55228 0.447715 5 1 5H6C6.55228 5 7 4.55228 7 4V1C7 0.447715 6.55228 0 6 0Z" transform="translate(4 7)" fill="black"/>
12
- </g>
13
- <path d="M6 0H1C0.447715 0 0 0.447715 0 1V4C0 4.55228 0.447715 5 1 5H6C6.55228 5 7 4.55228 7 4V1C7 0.447715 6.55228 0 6 0Z" transform="translate(4 7)" fill="url(#paint4_linear)"/>
14
- <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(5 8)" fill="#7A3802"/>
15
- <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(7 8)" fill="#7A3802"/>
16
- <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(9 8)" fill="#7A3802"/>
17
- <path d="M5 0H0V1H5V0Z" transform="translate(4 15)" fill="white" fill-opacity="0.8"/>
18
- <path d="M3 0H0V1H3V0Z" transform="translate(4 17)" fill="white" fill-opacity="0.8"/>
19
- <path d="M3 0H0V1H3V0Z" transform="translate(8 17)" fill="white" fill-opacity="0.8"/>
20
- <path d="M3 0H0V1H3V0Z" transform="translate(12 17)" fill="white" fill-opacity="0.8"/>
21
- <path d="M5 0H0V1H5V0Z" transform="translate(10 15)" fill="white" fill-opacity="0.8"/>
22
- <path d="M5 0H0V1H5V0Z" transform="translate(16 15)" fill="white" fill-opacity="0.8"/>
23
- <path d="M5 0H0V1H5V0Z" transform="translate(22 15)" fill="white" fill-opacity="0.8"/>
24
- </g>
25
- <defs>
26
- <filter id="filter0_d" x="3" y="7" width="9" height="7" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
29
- <feOffset dy="1"/>
30
- <feGaussianBlur stdDeviation="0.5"/>
31
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
32
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
33
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
34
- </filter>
35
- <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-16 12) scale(45.2548 33.9411) rotate(-45)">
36
- <stop stop-color="#060B0E"/>
37
- <stop offset="1" stop-color="#254764"/>
38
- </linearGradient>
39
- <linearGradient id="paint1_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13.0557 17.6392) scale(9.27096) rotate(-110.052)">
40
- <stop stop-color="white" stop-opacity="0"/>
41
- <stop offset="1" stop-color="white"/>
42
- </linearGradient>
43
- <linearGradient id="paint2_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.16207 34.8244) scale(15.1227) rotate(-103.962)">
44
- <stop stop-color="white" stop-opacity="0"/>
45
- <stop offset="1" stop-color="white"/>
46
- </linearGradient>
47
- <linearGradient id="paint3_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(32.4248 26.4995) scale(24.2879) rotate(76.0375)">
48
- <stop stop-color="white" stop-opacity="0"/>
49
- <stop offset="1" stop-color="white"/>
50
- </linearGradient>
51
- <linearGradient id="paint4_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7) scale(7 5) rotate(90)">
52
- <stop stop-color="#FAD961"/>
53
- <stop offset="1" stop-color="#F7955D"/>
54
- </linearGradient>
55
- </defs>
56
  </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="32" height="24">
3
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="white"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="url(#paint0_linear)"/>
7
+ <path opacity="0.1" d="M31.5 63C48.897 63 63 48.897 63 31.5C63 14.103 48.897 0 31.5 0C14.103 0 0 14.103 0 31.5C0 48.897 14.103 63 31.5 63Z" transform="translate(6 6)" fill="url(#paint1_linear)"/>
8
+ <path opacity="0.1" d="M16.5 33C25.6127 33 33 25.6127 33 16.5C33 7.3873 25.6127 0 16.5 0C7.3873 0 0 7.3873 0 16.5C0 25.6127 7.3873 33 16.5 33Z" transform="translate(-10 12)" fill="url(#paint2_linear)"/>
9
+ <path opacity="0.1" d="M26.5 53C41.1355 53 53 41.1355 53 26.5C53 11.8645 41.1355 0 26.5 0C11.8645 0 0 11.8645 0 26.5C0 41.1355 11.8645 53 26.5 53Z" transform="translate(16 -31)" fill="url(#paint3_linear)"/>
10
+ <g filter="url(#filter0_d)">
11
+ <path d="M6 0H1C0.447715 0 0 0.447715 0 1V4C0 4.55228 0.447715 5 1 5H6C6.55228 5 7 4.55228 7 4V1C7 0.447715 6.55228 0 6 0Z" transform="translate(4 7)" fill="black"/>
12
+ </g>
13
+ <path d="M6 0H1C0.447715 0 0 0.447715 0 1V4C0 4.55228 0.447715 5 1 5H6C6.55228 5 7 4.55228 7 4V1C7 0.447715 6.55228 0 6 0Z" transform="translate(4 7)" fill="url(#paint4_linear)"/>
14
+ <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(5 8)" fill="#7A3802"/>
15
+ <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(7 8)" fill="#7A3802"/>
16
+ <path opacity="0.3" d="M1 0H0V3H1V0Z" transform="translate(9 8)" fill="#7A3802"/>
17
+ <path d="M5 0H0V1H5V0Z" transform="translate(4 15)" fill="white" fill-opacity="0.8"/>
18
+ <path d="M3 0H0V1H3V0Z" transform="translate(4 17)" fill="white" fill-opacity="0.8"/>
19
+ <path d="M3 0H0V1H3V0Z" transform="translate(8 17)" fill="white" fill-opacity="0.8"/>
20
+ <path d="M3 0H0V1H3V0Z" transform="translate(12 17)" fill="white" fill-opacity="0.8"/>
21
+ <path d="M5 0H0V1H5V0Z" transform="translate(10 15)" fill="white" fill-opacity="0.8"/>
22
+ <path d="M5 0H0V1H5V0Z" transform="translate(16 15)" fill="white" fill-opacity="0.8"/>
23
+ <path d="M5 0H0V1H5V0Z" transform="translate(22 15)" fill="white" fill-opacity="0.8"/>
24
+ </g>
25
+ <defs>
26
+ <filter id="filter0_d" x="3" y="7" width="9" height="7" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
29
+ <feOffset dy="1"/>
30
+ <feGaussianBlur stdDeviation="0.5"/>
31
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
32
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
33
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
34
+ </filter>
35
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-16 12) scale(45.2548 33.9411) rotate(-45)">
36
+ <stop stop-color="#060B0E"/>
37
+ <stop offset="1" stop-color="#254764"/>
38
+ </linearGradient>
39
+ <linearGradient id="paint1_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13.0557 17.6392) scale(9.27096) rotate(-110.052)">
40
+ <stop stop-color="white" stop-opacity="0"/>
41
+ <stop offset="1" stop-color="white"/>
42
+ </linearGradient>
43
+ <linearGradient id="paint2_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.16207 34.8244) scale(15.1227) rotate(-103.962)">
44
+ <stop stop-color="white" stop-opacity="0"/>
45
+ <stop offset="1" stop-color="white"/>
46
+ </linearGradient>
47
+ <linearGradient id="paint3_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(32.4248 26.4995) scale(24.2879) rotate(76.0375)">
48
+ <stop stop-color="white" stop-opacity="0"/>
49
+ <stop offset="1" stop-color="white"/>
50
+ </linearGradient>
51
+ <linearGradient id="paint4_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7) scale(7 5) rotate(90)">
52
+ <stop stop-color="#FAD961"/>
53
+ <stop offset="1" stop-color="#F7955D"/>
54
+ </linearGradient>
55
+ </defs>
56
  </svg>
public/images/giftcard.svg CHANGED
@@ -1,50 +1,59 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="32px" height="24px" viewBox="0 0 32 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
4
- <title>Slice 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="yourgift" fill="#007AFF" fill-rule="nonzero">
9
- <path d="M28,0 L4,0 C1.79086,0 0,1.79086 0,4 L0,20 C0,22.2091 1.79086,24 4,24 L28,24 C30.2091,24 32,22.2091 32,20 L32,4 C32,1.79086 30.2091,0 28,0 Z" id="Shape" style="mix-blend-mode: overlay;"></path>
10
- </g>
11
- <g id="giftcard" transform="translate(-0.000000, 5.000000)" fill-rule="nonzero">
12
- <g id="giftcard-d-link" transform="translate(0.000000, 3.000000)" fill="#000000">
13
- <rect id="giftcard-d" x="0" y="0" width="32" height="3"></rect>
14
- </g>
15
- <g id="giftcard-d-link" transform="translate(0.000000, 3.000000)" fill="#FFFFFF">
16
- <rect id="giftcard-d" x="0" y="0" width="32" height="3"></rect>
17
- </g>
18
- <g id="giftcard-f-link" transform="translate(11.000000, 5.000000)" fill="#000000">
19
- <polygon id="giftcard-f" points="0 0 5 0 5 7 2.5 5 0 7"></polygon>
20
- </g>
21
- <g id="giftcard-f-link" transform="translate(11.000000, 5.000000)" fill="#FFFFFF">
22
- <polygon id="giftcard-f" points="0 0 5 0 5 7 2.5 5 0 7"></polygon>
23
- </g>
24
- <g id="Group" transform="translate(15.000000, 0.000000)">
25
- <g id="giftcard-h-link" fill="#000000">
26
- <path d="M0.4811541,2.5730029 L4.4811541,0.14527849 C4.9532846,-0.14127216 5.5683172,0.00916999 5.8548678,0.48130045 C5.9498006,0.63771488 6,0.81717716 6,1.0001463 L6,8.256899 C6,8.8091837 5.5522847,9.256899 5,9.256899 C4.8612597,9.256899 4.7240373,9.228029 4.5970586,9.1721248 L0.5970586,7.4110671 C0.2342112,7.2513183 0,6.892298 0,6.4958413 L0,3.4278707 C0,3.0784184 0.1824186,2.7543147 0.4811541,2.5730029 Z" id="giftcard-h"></path>
27
- </g>
28
- <g id="giftcard-h-link" fill="#FFFFFF">
29
- <path d="M0.4811541,2.5730029 L4.4811541,0.14527849 C4.9532846,-0.14127216 5.5683172,0.00916999 5.8548678,0.48130045 C5.9498006,0.63771488 6,0.81717716 6,1.0001463 L6,8.256899 C6,8.8091837 5.5522847,9.256899 5,9.256899 C4.8612597,9.256899 4.7240373,9.228029 4.5970586,9.1721248 L0.5970586,7.4110671 C0.2342112,7.2513183 0,6.892298 0,6.4958413 L0,3.4278707 C0,3.0784184 0.1824186,2.7543147 0.4811541,2.5730029 Z" id="giftcard-h"></path>
30
- </g>
31
- </g>
32
- <g id="Group" transform="translate(9.000000, 5.000000) scale(-1, 1) translate(-9.000000, -5.000000) translate(6.000000, 0.000000)">
33
- <g id="giftcard-j-link" fill="#000000">
34
- <path d="M0.48115414,2.5730029 L4.4811541,0.14527849 C4.9532846,-0.14127216 5.5683172,0.00916999 5.8548678,0.48130045 C5.9498006,0.63771488 6,0.81717716 6,1.0001463 L6,8.256899 C6,8.8091837 5.5522847,9.256899 5,9.256899 C4.8612597,9.256899 4.7240373,9.228029 4.5970586,9.1721248 L0.59705864,7.4110671 C0.23421121,7.2513183 0,6.892298 0,6.4958413 L0,3.4278707 C0,3.0784184 0.18241861,2.7543147 0.48115414,2.5730029 Z" id="giftcard-j"></path>
35
- </g>
36
- <g id="giftcard-j-link" fill="#FFFFFF">
37
- <path d="M0.48115414,2.5730029 L4.4811541,0.14527849 C4.9532846,-0.14127216 5.5683172,0.00916999 5.8548678,0.48130045 C5.9498006,0.63771488 6,0.81717716 6,1.0001463 L6,8.256899 C6,8.8091837 5.5522847,9.256899 5,9.256899 C4.8612597,9.256899 4.7240373,9.228029 4.5970586,9.1721248 L0.59705864,7.4110671 C0.23421121,7.2513183 0,6.892298 0,6.4958413 L0,3.4278707 C0,3.0784184 0.18241861,2.7543147 0.48115414,2.5730029 Z" id="giftcard-j"></path>
38
- </g>
39
- </g>
40
- <g id="Group" transform="translate(10.000000, 1.000000)">
41
- <g id="giftcard-l-link" fill="#000000">
42
- <circle id="giftcard-l" cx="3.5" cy="3.5" r="3.5"></circle>
43
- </g>
44
- <g id="giftcard-l-link" fill="#FFFFFF">
45
- <circle id="giftcard-l" cx="3.5" cy="3.5" r="3.5"></circle>
46
- </g>
47
- </g>
48
- </g>
49
  </g>
50
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="url(#paint0_linear)"/>
3
+ <path d="M32 0H0V3H32V0Z" transform="translate(0 8)" fill="white"/>
4
+ <g filter="url(#filter0_d)">
5
+ <path d="M0 0.0187923L5.25 0V7.23511L2.625 5.2619L0 7.23511V0.0187923Z" transform="translate(10.5 8.76489)" fill="white"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  </g>
7
+ <g filter="url(#filter1_d)">
8
+ <path d="M0.467432 2.59818L5.31359 0.0841663C5.71815 -0.125706 6.19845 0.0704304 6.38637 0.522249C6.43589 0.641301 6.46154 0.770988 6.46154 0.902256V8.13109C6.46154 8.62927 6.09992 9.03313 5.65385 9.03313C5.53631 9.03313 5.42019 9.00448 5.31359 8.94918L0.467432 6.43517C0.182358 6.28728 0 5.96812 0 5.61708V3.41627C0 3.06522 0.182358 2.74606 0.467432 2.59818Z" transform="translate(12.6201 5)" fill="white"/>
9
+ </g>
10
+ <g filter="url(#filter2_d)">
11
+ <path d="M0.467432 2.59818L5.31359 0.0841663C5.71815 -0.125706 6.19845 0.0704304 6.38637 0.522249C6.43588 0.641301 6.46154 0.770988 6.46154 0.902256V8.13109C6.46154 8.62927 6.09992 9.03313 5.65385 9.03313C5.53631 9.03313 5.42019 9.00448 5.31359 8.94918L0.467432 6.43517C0.182358 6.28728 0 5.96812 0 5.61708V3.41627C0 3.06522 0.182358 2.74606 0.467432 2.59818Z" transform="translate(12.9231 5) scale(-1 1)" fill="white"/>
12
+ </g>
13
+ <g filter="url(#filter3_d)">
14
+ <path d="M3.23077 7.21632C5.01507 7.21632 6.46154 5.60089 6.46154 3.60816C6.46154 1.61543 5.01507 0 3.23077 0C1.44646 0 0 1.61543 0 3.60816C0 5.60089 1.44646 7.21632 3.23077 7.21632Z" transform="translate(9.69238 6.81046)" fill="white"/>
15
+ </g>
16
+ <defs>
17
+ <filter id="filter0_d" x="9.5" y="8.76489" width="7.25" height="9.23511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
18
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
19
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
20
+ <feOffset dy="1"/>
21
+ <feGaussianBlur stdDeviation="0.5"/>
22
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
23
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
24
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
25
+ </filter>
26
+ <filter id="filter1_d" x="11.6201" y="5" width="8.46154" height="11.0331" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
29
+ <feOffset dy="1"/>
30
+ <feGaussianBlur stdDeviation="0.5"/>
31
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
32
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
33
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
34
+ </filter>
35
+ <filter id="filter2_d" x="5.46155" y="5" width="8.46154" height="11.0331" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
36
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
37
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
38
+ <feOffset dy="1"/>
39
+ <feGaussianBlur stdDeviation="0.5"/>
40
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
41
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
42
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
43
+ </filter>
44
+ <filter id="filter3_d" x="8.69238" y="6.81046" width="8.46154" height="9.21632" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
45
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
46
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
47
+ <feOffset dy="1"/>
48
+ <feGaussianBlur stdDeviation="0.5"/>
49
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
50
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
51
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
52
+ </filter>
53
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(32 24 -32 42.6667 16 -21.3333)">
54
+ <stop stop-color="#00B2FF"/>
55
+ <stop offset="0.806094" stop-color="#007EFF"/>
56
+ <stop offset="1" stop-color="#0072FF"/>
57
+ </linearGradient>
58
+ </defs>
59
+ </svg>
public/images/klarna-paylater.svg CHANGED
@@ -1,9 +1,5 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#EB6F93"/>
3
- <path d="M13.7718 11.4076L6.04025 0.619171C3.18073 2.68564 1.22375 5.74606 0.565768 9.18044L13.7718 11.4076ZM0.00372543 9.34771C0.650184 5.59036 2.7909 2.24262 5.951 0.0471234C6.06903 -0.0348781 6.23214 -0.00712822 6.31545 0.109129L14.5633 11.6179C14.6977 11.8055 14.5351 12.0597 14.3054 12.0209L0.217576 9.64508C0.0752806 9.62108 -0.0204137 9.48801 0.00372543 9.34771Z" transform="translate(8.72144 5.43729)" fill="white"/>
4
- <path d="M5.18184 0.0760574C5.11472 0.142597 5.04584 0.216304 4.94916 0.323562C4.92281 0.352791 4.82751 0.459121 4.83032 0.455992C4.78231 0.509466 4.74547 0.550149 4.70916 0.589625C4.28495 1.05093 3.98418 1.26492 3.69532 1.26909C2.37821 1.29057 1.74064 2.11959 1.77676 3.23057C1.77936 3.30857 1.78428 3.37561 1.79334 3.47225C1.8083 3.63161 1.81043 3.66122 1.80907 3.71854C1.80256 3.99353 1.59573 4.31618 0.802081 5.16139C-0.165153 6.19245 -0.19336 7.3919 0.375553 8.15359C0.461233 8.2683 0.625028 8.29283 0.741399 8.20837C0.85777 8.12391 0.88265 7.96245 0.796971 7.84774C0.372776 7.27981 0.394508 6.35567 1.18622 5.51172C2.06419 4.57671 2.32172 4.17495 2.33225 3.73058C2.33428 3.6447 2.33166 3.60824 2.31444 3.42473C2.30624 3.33741 2.30199 3.27937 2.29981 3.21384C2.27232 2.36835 2.70856 1.80111 3.70348 1.78489C4.18753 1.7779 4.57867 1.49961 5.09689 0.936086C5.13483 0.89483 5.17294 0.852749 5.2222 0.797872C5.21984 0.800505 5.31459 0.694796 5.34036 0.666209C5.43105 0.5656 5.49428 0.49793 5.55292 0.439802C5.65482 0.338792 5.65435 0.175481 5.55188 0.0750357C5.44941 -0.0254096 5.28374 -0.0249521 5.18184 0.0760574Z" transform="translate(10.4115 7.16653)" fill="white"/>
5
- <path d="M0.502407 1.75732C0.861002 0.928583 1.72803 0.429273 2.6365 0.528334C3.54496 0.627395 4.28032 1.30143 4.4465 2.1874C4.4615 2.26721 4.47171 2.34774 4.47709 2.42865C4.48656 2.57079 4.61113 2.67846 4.75533 2.66913C4.89953 2.6598 5.00875 2.53701 4.99929 2.39486C4.99256 2.29376 4.9798 2.19314 4.96108 2.09352C4.75296 0.983925 3.83191 0.139679 2.69404 0.0156024C1.55617 -0.108474 0.470193 0.516921 0.0210463 1.55493C-0.0356499 1.68596 0.026145 1.83749 0.159069 1.89338C0.291993 1.94927 0.445711 1.88835 0.502407 1.75732Z" transform="translate(14.5099 14.1214)" fill="white"/>
6
- <path d="M2.14428 0.0424236C1.40095 -0.0995643 0.633706 0.119422 0.0823326 0.63094C-0.0229023 0.728568 -0.0279244 0.891805 0.0711155 0.99554C0.170155 1.09927 0.335753 1.10423 0.440988 1.0066C0.869834 0.60875 1.46658 0.438428 2.04473 0.548863C2.1866 0.575963 2.32389 0.484561 2.35139 0.344712C2.37888 0.204863 2.28615 0.0695234 2.14428 0.0424236Z" transform="translate(11.9794 13.508)" fill="white"/>
7
- <path d="M0.0139576 0.340909C0.257537 1.04824 0.831529 1.59681 1.55628 1.81492C1.69449 1.85652 1.84074 1.77979 1.88294 1.64355C1.92513 1.50731 1.8473 1.36314 1.70908 1.32155C1.14539 1.1519 0.698955 0.725234 0.509504 0.17509C0.463052 0.0401996 0.314464 -0.0320309 0.177622 0.0137587C0.0407811 0.0595483 -0.0324941 0.206019 0.0139576 0.340909Z" transform="translate(17.7039 12.3347)" fill="white"/>
8
- <path d="M1.89795 3.7418C0.849743 3.7418 0 2.90417 0 1.8709C0 0.83763 0.849743 0 1.89795 0C2.94616 0 3.79591 0.83763 3.79591 1.8709C3.79591 2.90417 2.94616 3.7418 1.89795 3.7418ZM1.89795 3.22594C2.65714 3.22594 3.27259 2.61927 3.27259 1.8709C3.27259 1.12253 2.65714 0.51586 1.89795 0.51586C1.13876 0.51586 0.523319 1.12253 0.523319 1.8709C0.523319 2.61927 1.13876 3.22594 1.89795 3.22594Z" transform="translate(13.5183 9.44702)" fill="white"/>
9
  </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#F4B6C7"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 17.25H10V6.75H12.25V17.25ZM12.6667 12.0222C14.6631 11.039 15.9534 9.05237 15.9999 6.75088H18.3632C18.3311 8.93615 17.4292 10.9634 15.8415 12.4672L18.9999 17.25H15.9999L12.6667 12.0222Z" fill="black"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19 15.7501C19 16.5784 19.6716 17.25 20.5001 17.25C21.3284 17.25 22 16.5784 22 15.7501C22 14.9216 21.3284 14.25 20.5001 14.25C19.6716 14.25 19 14.9216 19 15.7501Z" fill="black"/>
 
 
 
 
5
  </svg>
public/images/klarna.svg CHANGED
@@ -1,5 +1,5 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="black"/>
3
- <path d="M0 10.5H2.25V0H0V10.5ZM6 0.000905172C5.9535 2.3024 4.66312 4.28907 2.66681 5.27227L6 10.5H9L5.84156 5.71725C7.42931 4.2134 8.33119 2.18617 8.36325 0.000905172H6Z" transform="translate(11.5 6.75)" fill="white"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.50011C0 2.32838 0.671619 3 1.50011 3C2.32838 3 3 2.32838 3 1.50011C3 0.671619 2.32838 0 1.50011 0C0.671619 0 0 0.671619 0 1.50011Z" transform="translate(20.5 14.25)" fill="white"/>
5
  </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#F4B6C7"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 17.25H10V6.75H12.25V17.25ZM12.6667 12.0222C14.6631 11.039 15.9534 9.05237 15.9999 6.75088H18.3632C18.3311 8.93615 17.4292 10.9634 15.8415 12.4672L18.9999 17.25H15.9999L12.6667 12.0222Z" fill="black"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19 15.7501C19 16.5784 19.6716 17.25 20.5001 17.25C21.3284 17.25 22 16.5784 22 15.7501C22 14.9216 21.3284 14.25 20.5001 14.25C19.6716 14.25 19 14.9216 19 15.7501Z" fill="black"/>
5
  </svg>
public/images/klarnapaylater.svg CHANGED
@@ -1 +1,5 @@
1
- <svg width="32" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M28 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h24a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z" fill="#EB6F93"/><path d="M7.27 9.198a42.582 42.582 0 0 1 4.321-.237c1.013 0 1.749.033 2.75.107l.466.035c.178.014.317.023.452.032.44.028.813.042 1.21.042a.255.255 0 0 0 .257-.253.255.255 0 0 0-.258-.253c-.383 0-.746-.013-1.175-.04l-.447-.032-.465-.035a34.364 34.364 0 0 0-2.791-.109 43.11 43.11 0 0 0-4.607.265.255.255 0 0 0-.229.252v.793c0 .041.01.082.03.119.205.377.335.788.383 1.213.069 1.312.204 2.133.618 2.956.601 1.193 1.672 1.867 3.299 1.867 2.843.002 3.684-.63 4.294-2.515l.094-.293a50.79 50.79 0 0 1 .628-1.806c.15-.355.26-.476.368-.476a.255.255 0 0 0 .258-.253.255.255 0 0 0-.258-.253c-.385 0-.623.262-.845.79-.11.261-.581 1.659-.539 1.537-.033.094-.065.191-.103.307l-.095.294c-.274.848-.474 1.222-.896 1.54-.548.411-1.451.623-2.906.622-1.428 0-2.321-.562-2.836-1.585-.374-.742-.5-1.513-.567-2.773a3.844 3.844 0 0 0-.411-1.353v-.505z" fill="#fff"/><path d="M11.161 14.541h-.026a2.27 2.27 0 0 1-1.663-.641c-.898-.893-.884-2.375-.884-2.446a7.018 7.018 0 0 1-.031-.691.8.8 0 0 1 .183-.603.83.83 0 0 1 .567-.293c.625-.069 1.583-.102 2.213-.11 1.617-.018 2.498.08 2.856.312.485.309.422.77 0 2.085l-.113.285c-.42 1.354-.656 2.102-3.102 2.102zm.915-4.326l-2.45 3.004a.25.25 0 0 0 .04.356c.112.087.274.07.363-.04l2.45-3.004a.25.25 0 0 0-.04-.355.261.261 0 0 0-.363.039zm-1.624-.102l-1.407 1.724a.25.25 0 0 0 .04.356c.112.087.274.07.363-.04l1.406-1.724a.25.25 0 0 0-.04-.356.261.261 0 0 0-.362.04zM25.666 9.198v.505a3.83 3.83 0 0 0-.41 1.338c-.067 1.275-.194 2.046-.568 2.788-.515 1.023-1.408 1.585-2.836 1.585-1.453 0-2.356-.213-2.904-.626-.424-.32-.623-.694-.9-1.544l-.094-.291c-.037-.115-.07-.211-.102-.304.043.121-.43-1.276-.54-1.538-.221-.527-.459-.79-.844-.79a.255.255 0 0 0-.258.254c0 .14.116.253.258.253.109 0 .219.121.368.476a50.776 50.776 0 0 1 .627 1.803l.094.29c.613 1.889 1.455 2.523 4.295 2.523 1.627 0 2.698-.674 3.299-1.867.414-.823.55-1.644.619-2.971.047-.41.177-.821.382-1.198a.249.249 0 0 0 .03-.119v-.793a.255.255 0 0 0-.229-.252c-1.53-.17-3.067-.259-4.606-.265-1.03 0-1.778.034-2.792.109l-.465.035c-.176.013-.314.023-.447.031-.43.028-.792.041-1.175.041a.255.255 0 0 0-.258.253c0 .14.116.253.258.253.396 0 .769-.014 1.209-.042.135-.009.275-.018.452-.032l.465-.035a33.856 33.856 0 0 1 2.752-.107c1.443.006 2.885.085 4.32.237z" fill="#fff"/><path d="M21.767 14.541c-2.445 0-2.682-.748-3.11-2.1l-.095-.296c-.428-1.316-.484-1.774 0-2.085.358-.238 1.24-.33 2.857-.312.632 0 1.588.04 2.213.11.222.02.428.126.57.297.14.17.206.39.18.608 0 .237 0 .474-.034.712 0 .043.015 1.534-.884 2.427a2.27 2.27 0 0 1-1.665.641h-.032v-.002zm-1.421-4.428l-1.407 1.724a.25.25 0 0 0 .04.356c.112.087.274.07.363-.04l1.407-1.724a.25.25 0 0 0-.04-.356.261.261 0 0 0-.363.04zm1.624.102l-2.45 3.004a.25.25 0 0 0 .04.356c.112.087.274.07.363-.04l2.45-3.004a.25.25 0 0 0-.04-.356.261.261 0 0 0-.363.04z" fill="#fff"/></svg>
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#F4B6C7"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 17.25H10V6.75H12.25V17.25ZM12.6667 12.0222C14.6631 11.039 15.9534 9.05237 15.9999 6.75088H18.3632C18.3311 8.93615 17.4292 10.9634 15.8415 12.4672L18.9999 17.25H15.9999L12.6667 12.0222Z" fill="black"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19 15.7501C19 16.5784 19.6716 17.25 20.5001 17.25C21.3284 17.25 22 16.5784 22 15.7501C22 14.9216 21.3284 14.25 20.5001 14.25C19.6716 14.25 19 14.9216 19 15.7501Z" fill="black"/>
5
+ </svg>
public/images/klarnasliceit.svg CHANGED
@@ -1,9 +1,5 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#EB6F93"/>
3
- <path d="M13.7718 11.4076L6.04025 0.619171C3.18073 2.68564 1.22375 5.74606 0.565768 9.18044L13.7718 11.4076ZM0.00372543 9.34771C0.650184 5.59036 2.7909 2.24262 5.951 0.0471234C6.06903 -0.0348781 6.23214 -0.00712822 6.31545 0.109129L14.5633 11.6179C14.6977 11.8055 14.5351 12.0597 14.3054 12.0209L0.217576 9.64508C0.0752806 9.62108 -0.0204137 9.48801 0.00372543 9.34771Z" transform="translate(8.72144 5.43729)" fill="white"/>
4
- <path d="M5.18184 0.0760574C5.11472 0.142597 5.04584 0.216304 4.94916 0.323562C4.92281 0.352791 4.82751 0.459121 4.83032 0.455992C4.78231 0.509466 4.74547 0.550149 4.70916 0.589625C4.28495 1.05093 3.98418 1.26492 3.69532 1.26909C2.37821 1.29057 1.74064 2.11959 1.77676 3.23057C1.77936 3.30857 1.78428 3.37561 1.79334 3.47225C1.8083 3.63161 1.81043 3.66122 1.80907 3.71854C1.80256 3.99353 1.59573 4.31618 0.802081 5.16139C-0.165153 6.19245 -0.19336 7.3919 0.375553 8.15359C0.461233 8.2683 0.625028 8.29283 0.741399 8.20837C0.85777 8.12391 0.88265 7.96245 0.796971 7.84774C0.372776 7.27981 0.394508 6.35567 1.18622 5.51172C2.06419 4.57671 2.32172 4.17495 2.33225 3.73058C2.33428 3.6447 2.33166 3.60824 2.31444 3.42473C2.30624 3.33741 2.30199 3.27937 2.29981 3.21384C2.27232 2.36835 2.70856 1.80111 3.70348 1.78489C4.18753 1.7779 4.57867 1.49961 5.09689 0.936086C5.13483 0.89483 5.17294 0.852749 5.2222 0.797872C5.21984 0.800505 5.31459 0.694796 5.34036 0.666209C5.43105 0.5656 5.49428 0.49793 5.55292 0.439802C5.65482 0.338792 5.65436 0.175481 5.55188 0.0750357C5.44941 -0.0254096 5.28374 -0.0249521 5.18184 0.0760574Z" transform="translate(10.4115 7.16653)" fill="white"/>
5
- <path d="M0.502407 1.75732C0.861002 0.928583 1.72803 0.429273 2.6365 0.528334C3.54496 0.627395 4.28032 1.30143 4.4465 2.1874C4.4615 2.26721 4.47171 2.34774 4.47709 2.42865C4.48656 2.57079 4.61113 2.67846 4.75533 2.66913C4.89953 2.6598 5.00875 2.53701 4.99929 2.39486C4.99256 2.29376 4.9798 2.19314 4.96108 2.09352C4.75296 0.983925 3.83191 0.139679 2.69404 0.0156024C1.55617 -0.108474 0.470193 0.516921 0.0210463 1.55493C-0.0356499 1.68596 0.026145 1.83749 0.159069 1.89338C0.291993 1.94927 0.445711 1.88835 0.502407 1.75732Z" transform="translate(14.5099 14.1214)" fill="white"/>
6
- <path d="M2.14428 0.0424236C1.40095 -0.0995643 0.633706 0.119422 0.0823326 0.63094C-0.0229023 0.728568 -0.0279244 0.891805 0.0711155 0.99554C0.170155 1.09927 0.335753 1.10423 0.440988 1.0066C0.869834 0.60875 1.46658 0.438428 2.04473 0.548863C2.1866 0.575963 2.32389 0.484561 2.35139 0.344712C2.37888 0.204863 2.28615 0.0695234 2.14428 0.0424236Z" transform="translate(11.9794 13.508)" fill="white"/>
7
- <path d="M0.0139576 0.340909C0.257537 1.04824 0.831529 1.59681 1.55628 1.81492C1.69449 1.85652 1.84074 1.77979 1.88294 1.64355C1.92513 1.50731 1.8473 1.36314 1.70908 1.32155C1.14539 1.1519 0.698955 0.725234 0.509504 0.17509C0.463052 0.0401996 0.314464 -0.0320309 0.177622 0.0137587C0.0407811 0.0595483 -0.0324941 0.206019 0.0139576 0.340909Z" transform="translate(17.7039 12.3347)" fill="white"/>
8
- <path d="M1.89795 3.7418C0.849743 3.7418 0 2.90417 0 1.8709C0 0.83763 0.849743 0 1.89795 0C2.94616 0 3.79591 0.83763 3.79591 1.8709C3.79591 2.90417 2.94616 3.7418 1.89795 3.7418ZM1.89795 3.22594C2.65714 3.22594 3.27259 2.61927 3.27259 1.8709C3.27259 1.12253 2.65714 0.51586 1.89795 0.51586C1.13876 0.51586 0.523319 1.12253 0.523319 1.8709C0.523319 2.61927 1.13876 3.22594 1.89795 3.22594Z" transform="translate(13.5183 9.44702)" fill="white"/>
9
  </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#F4B6C7"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 17.25H10V6.75H12.25V17.25ZM12.6667 12.0222C14.6631 11.039 15.9534 9.05237 15.9999 6.75088H18.3632C18.3311 8.93615 17.4292 10.9634 15.8415 12.4672L18.9999 17.25H15.9999L12.6667 12.0222Z" fill="black"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19 15.7501C19 16.5784 19.6716 17.25 20.5001 17.25C21.3284 17.25 22 16.5784 22 15.7501C22 14.9216 21.3284 14.25 20.5001 14.25C19.6716 14.25 19 14.9216 19 15.7501Z" fill="black"/>
 
 
 
 
5
  </svg>
public/images/przelewy24.svg CHANGED
@@ -1 +1 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="24" rx="4" fill="#D13239"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.446 7.72a1.464 1.464 0 0 0-.512-.322 3.722 3.722 0 0 0-.681-.183 5.757 5.757 0 0 0-.778-.082c-.187-.008-.307-.008-.307-.008H4.706L3 17.427h1.593l.629-3.816 3.09.015s1.204.049 2.057-.404c.853-.452 1.08-1.48 1.08-1.48s.094-.382.173-.846a54.292 54.292 0 0 0 .247-1.683s.022-.105.022-.27a1.84 1.84 0 0 0-.21-.901 1.48 1.48 0 0 0-.235-.322zm-1.227 1.818c0 .019-.142.845-.329 1.825-.071.374-.36.576-.688.647-.546.116-1.134.094-1.134.094l-2.58-.007.568-3.423 2.338.007s.157-.003.378 0c.25.004.583.015.856.053.236.03.423.078.483.153a.634.634 0 0 1 .12.337c.014.164-.012.303-.012.314z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.99 10.735l1.613.004.097-.625s.172-1.13.558-1.347c.123-.07.321-.134.55-.175.422-.075.957-.083 1.395-.068.67.023.924.03 1.604.109.681.078.509.737.509.737l-.135.983s-.06.442-.217.715c-.138.243-.52.408-.74.479-.531.172-2.35.635-2.35.635l-1.428.412s-.88.254-1.37.797a3.278 3.278 0 0 0-.755 1.485c-.067.321-.445 2.547-.445 2.547l7.713.004.258-1.541-6.1.007.108-.628s.071-.648.333-.86c.082-.068.123-.158.61-.33.291-.105 1.286-.37 1.286-.37l2.3-.629s1.257-.321 1.751-1.01c.494-.684.685-1.997.685-1.997s.134-1.275.03-1.676c-.101-.4-.48-.879-.94-1.084-.46-.206-.938-.326-2.326-.307-1.387.019-2.076.082-2.779.344-.703.258-1.11.73-1.369 1.395-.28.632-.445 1.994-.445 1.994zM27.511 13.6l1.081-6.478h-1.915l-5.962 6.403-.27 1.624h5.215l-.382 2.274 1.601.004.378-2.278 1.477.003L29 13.6h-1.489zm-1.593.004l-3.37-.004 4.103-4.372-.733 4.376z" fill="#D4D4D4"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none"><rect width="32" height="24" rx="4" fill="#D13239"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.446 7.72a1.464 1.464 0 0 0-.512-.322 3.722 3.722 0 0 0-.681-.183 5.757 5.757 0 0 0-.778-.082c-.187-.008-.307-.008-.307-.008H4.706L3 17.427h1.593l.629-3.816 3.09.015s1.204.049 2.057-.404c.853-.452 1.08-1.48 1.08-1.48s.094-.382.173-.846a54.292 54.292 0 0 0 .247-1.683s.022-.105.022-.27a1.84 1.84 0 0 0-.21-.901 1.48 1.48 0 0 0-.235-.322zm-1.227 1.818c0 .019-.142.845-.329 1.825-.071.374-.36.576-.688.647-.546.116-1.134.094-1.134.094l-2.58-.007.568-3.423 2.338.007s.157-.003.378 0c.25.004.583.015.856.053.236.03.423.078.483.153a.634.634 0 0 1 .12.337c.014.164-.012.303-.012.314z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.99 10.735l1.613.004.097-.625s.172-1.13.558-1.347c.123-.07.321-.134.55-.175.422-.075.957-.083 1.395-.068.67.023.924.03 1.604.109.681.078.509.737.509.737l-.135.983s-.06.442-.217.715c-.138.243-.52.408-.74.479-.531.172-2.35.635-2.35.635l-1.428.412s-.88.254-1.37.797a3.278 3.278 0 0 0-.755 1.485c-.067.321-.445 2.547-.445 2.547l7.713.004.258-1.541-6.1.007.108-.628s.071-.648.333-.86c.082-.068.123-.158.61-.33.291-.105 1.286-.37 1.286-.37l2.3-.629s1.257-.321 1.751-1.01c.494-.684.685-1.997.685-1.997s.134-1.275.03-1.676c-.101-.4-.48-.879-.94-1.084-.46-.206-.938-.326-2.326-.307-1.387.019-2.076.082-2.779.344-.703.258-1.11.73-1.369 1.395-.28.632-.445 1.994-.445 1.994zM27.511 13.6l1.081-6.478h-1.915l-5.962 6.403-.27 1.624h5.215l-.382 2.274 1.601.004.378-2.278 1.477.003L29 13.6h-1.489zm-1.593.004l-3.37-.004 4.103-4.372-.733 4.376z" fill="#D4D4D4"/></svg>
public/images/sofort.svg CHANGED
@@ -1,15 +1,4 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg width="32px" height="24px" viewBox="0 0 32 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
4
- <title>Slice 1</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="sofort" transform="translate(5.000000, 5.000000)" fill="#FFFFFF" fill-rule="nonzero">
9
- <path d="M13.9826544,1.23026845e-11 C12.7185057,1.23026845e-11 11.4904689,-9.87099877e-05 10.3899535,0.55888963 C9.2902395,1.1179007 8.3188236,2.2367479 7.5712426,4.4743941 C7.4092141,4.9554967 7.3235124,5.3699998 7.3122834,5.7298231 C7.3010574,6.090449 7.3636435,6.3972223 7.5000043,6.6638762 C7.6684502,6.989162 7.9411777,7.2951901 8.2820817,7.5530097 C8.623787,7.8116317 9.0319645,8.0213386 9.4723325,8.1554695 C9.4891765,8.1602864 9.7202884,8.2261032 10.0010332,8.3064211 C10.2801722,8.3867389 10.6065823,8.4830226 10.8135298,8.5456699 C10.9346504,8.582616 11.0676911,8.630859 11.1880103,8.7039485 C11.309131,8.7754311 11.4174897,8.8717543 11.4856692,9.0050817 C11.5305891,9.0934304 11.5546934,9.1906528 11.5570997,9.2942615 C11.5603034,9.3986747 11.5425584,9.5112273 11.5016496,9.6300971 C11.3989788,9.933697 11.2433579,10.129656 10.9465714,10.2493293 C10.6513889,10.3690016 10.2158807,10.4074144 9.5549299,10.4122342 L1.30423152,10.4122342 L0,14 L8.8313832,14 C9.6623847,14 11.181588,14.0000987 12.6414562,13.3784551 C14.1013234,12.7576003 15.5019917,11.5166782 16.0947621,9.0324571 C16.3177532,8.0991671 16.2487112,7.338554 15.8837444,6.740991 C15.5171727,6.1442314 14.8546171,5.7106039 13.88966,5.4335088 C13.88966,5.4335088 13.6739559,5.3706828 13.4196821,5.2975943 C13.1670123,5.2245057 12.8742114,5.141046 12.7250167,5.0976742 C12.4779619,5.0269951 12.2878189,4.8840112 12.175522,4.7016895 C12.0640265,4.5201724 12.0303267,4.299283 12.0936945,4.0735896 C12.16027,3.8390628 12.3207242,3.6519154 12.5517356,3.5226044 C12.7843517,3.3940948 13.0891466,3.3234552 13.4452897,3.3234552 L18.5788472,3.3234552 C18.6149425,3.2712491 18.6478764,3.2142982 18.6839716,3.162092 C19.6216552,1.8336396 20.7567064,0.75900119 22,-8.8817842e-16 L13.9826544,1.23026845e-11 Z" id="Shape"></path>
10
- </g>
11
- <g id="yourgift" fill="#FF9500" fill-rule="nonzero">
12
- <path d="M28,0 L4,0 C1.79086,0 0,1.79086 0,4 L0,20 C0,22.2091 1.79086,24 4,24 L28,24 C30.2091,24 32,22.2091 32,20 L32,4 C32,1.79086 30.2091,0 28,0 Z" id="Shape" style="mix-blend-mode: overlay;"></path>
13
- </g>
14
- </g>
15
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <path d="M28 0H4C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H28C30.2091 24 32 22.2091 32 20V4C32 1.79086 30.2091 0 28 0Z" fill="#FF821E"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.1692 0C9.24982 0 8.3567 -7.06741e-05 7.55633 0.399207C6.75654 0.7985 6.05005 1.59768 5.50636 3.196C5.38852 3.53964 5.32619 3.83571 5.31802 4.09273C5.30986 4.35032 5.35538 4.56944 5.45455 4.75991C5.57705 4.99226 5.7754 5.21085 6.02333 5.39501C6.27185 5.57974 6.5687 5.72953 6.88897 5.82534C6.90122 5.82878 7.0693 5.87579 7.27348 5.93316C7.47649 5.99053 7.71388 6.0593 7.86439 6.10405C7.95247 6.13044 8.04923 6.1649 8.13674 6.21711C8.22482 6.26817 8.30363 6.33697 8.35322 6.4322C8.38588 6.49531 8.40341 6.56475 8.40516 6.63876C8.40749 6.71334 8.39459 6.79373 8.36484 6.87864C8.29017 7.0955 8.17699 7.23547 7.96114 7.32095C7.74646 7.40643 7.42973 7.43387 6.94904 7.43731H0.948532L0 10H6.42282C7.02719 10 8.13206 10.0001 9.19379 9.55604C10.2555 9.11257 11.2742 8.2262 11.7053 6.45176C11.8675 5.78512 11.8172 5.24182 11.5518 4.81499C11.2852 4.38874 10.8034 4.079 10.1016 3.88108C10.1016 3.88108 9.9447 3.8362 9.75977 3.784C9.57601 3.73179 9.36306 3.67218 9.25456 3.6412C9.07488 3.59071 8.9366 3.48858 8.85493 3.35835C8.77384 3.22869 8.74933 3.07092 8.79541 2.90971C8.84383 2.74219 8.96053 2.60851 9.12853 2.51615C9.29771 2.42435 9.51938 2.3739 9.77839 2.3739H13.5119C13.5381 2.33661 13.5621 2.29593 13.5883 2.25864C14.2703 1.30974 15.0958 0.542144 16 0H10.1692Z" transform="translate(8 7)" fill="white"/>
4
+ </svg>
 
 
 
 
 
 
 
 
 
 
 
public/images/voucher.svg CHANGED
@@ -1 +1,59 @@
1
- <svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="24" rx="4" fill="#FBB427"></rect><g filter="url(#filter0_d)"><path d="M4.34066 11.5804H12.382C12.5702 11.5804 12.7228 11.4279 12.7228 11.2397V10.5028C12.7228 10.3146 12.5702 10.162 12.382 10.162H4.34066C4.15247 10.162 3.99992 10.3146 3.99992 10.5028V11.2397C3.99992 11.4279 4.15247 11.5804 4.34066 11.5804Z" fill="white"></path></g><g filter="url(#filter1_d)"><path d="M4.80165 16.5059H11.9211C12.1093 16.5059 12.2618 16.3534 12.2618 16.1652V11.1871H4.46092V16.1652C4.46092 16.3534 4.61347 16.5059 4.80165 16.5059Z" fill="white"></path></g><path d="M12.2618 11.5804H4.46092V12.006H12.2618V11.5804Z" fill="#FBB427"></path><path d="M8.05786 16.5059L8.05786 10.162L7.63235 10.162L7.63235 16.5059L8.05786 16.5059Z" fill="#FBB427"></path><path d="M9.15442 16.5059L9.15442 10.162L8.72891 10.162L8.72891 16.5059L9.15442 16.5059Z" fill="#FBB427"></path><path d="M8.36129 10.162C8.30691 10.162 8.25516 10.1388 8.21954 10.0972C8.18391 10.0563 8.16779 10.0019 8.17566 9.94829C8.17979 9.92016 8.59904 7.16205 10.7988 7.16205C11.7678 7.16205 12.1116 7.68555 12.1116 8.13367C12.1116 8.97591 10.948 10.162 8.36129 10.162ZM10.7988 7.53705C9.25678 7.53705 8.73104 9.18141 8.59041 9.78329C10.645 9.71954 11.7366 8.80229 11.7366 8.13367C11.7366 7.96717 11.6665 7.82992 11.5289 7.7268C11.3639 7.60267 11.1111 7.53705 10.7988 7.53705Z" fill="white"></path><path d="M8.36169 10.162C5.77495 10.162 4.61133 8.97591 4.61133 8.13367C4.61133 7.85092 4.73845 7.59967 4.9687 7.4268C5.19933 7.25355 5.5297 7.16205 5.9242 7.16205C8.12394 7.16205 8.54318 9.92016 8.54731 9.94829C8.55518 10.0023 8.53906 10.0563 8.50343 10.0972C8.46781 10.1388 8.41606 10.162 8.36169 10.162ZM5.9242 7.53705C5.34557 7.53705 4.98633 7.76542 4.98633 8.13367C4.98633 8.80267 6.0787 9.71991 8.13444 9.78366C7.99831 9.17804 7.48569 7.53705 5.9242 7.53705Z" fill="white"></path><g filter="url(#filter2_d)"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.0001 8.01114C27.0001 7.49547 26.6057 7.0448 26.0916 7.0844C26.0373 7.08858 25.9849 7.09421 25.936 7.10159C24.429 7.32904 24.2865 10.8347 24.308 12.5522C24.3146 13.0787 24.7489 13.4864 25.2754 13.4864H26.0001C26.5524 13.4864 27.0001 13.0387 27.0001 12.4864V8.01114ZM27.0001 14.0407C27.0001 13.7346 26.752 13.4865 26.4459 13.4865C26.1577 13.4865 25.9176 13.7074 25.8936 13.9946L25.7275 15.9885C25.6965 16.3602 25.9898 16.6789 26.3627 16.6789C26.7147 16.6789 27.0001 16.3935 27.0001 16.0415V14.0407Z" fill="white"></path></g><g filter="url(#filter3_d)"><path fill-rule="evenodd" clip-rule="evenodd" d="M21.3986 7.55912C21.3986 7.24432 21.1434 6.98914 20.8286 6.98914C20.5138 6.98914 20.2586 7.24432 20.2586 7.55912V9.55405C20.2586 9.71145 20.131 9.83904 19.9736 9.83904C19.8162 9.83904 19.6886 9.71145 19.6886 9.55405V7.55915C19.6886 7.24434 19.4334 6.98914 19.1186 6.98914C18.8038 6.98914 18.5486 7.24434 18.5486 7.55915V9.94522C18.5486 10.0626 18.5688 10.1753 18.606 10.2799C18.7092 10.6679 18.9455 11.0017 19.263 11.2294C19.7225 11.559 20.2067 12.0169 20.1784 12.5817L20.0163 15.825C19.993 16.2896 20.3634 16.6789 20.8286 16.6789C21.2937 16.6789 21.6641 16.2895 21.6408 15.825L21.4787 12.5817C21.4504 12.0169 21.9347 11.559 22.3941 11.2294C22.7117 11.0017 22.948 10.6678 23.0512 10.2797C23.0883 10.1751 23.1085 10.0625 23.1085 9.94522V9.84537L23.1085 9.83906C23.1085 9.83905 23.1085 9.83905 23.1085 9.83904C23.1085 9.83904 23.1085 9.83903 23.1085 9.83903V7.55911C23.1085 7.24432 22.8533 6.98914 22.5385 6.98914C22.2237 6.98914 21.9685 7.24432 21.9685 7.55911V9.55405C21.9685 9.71145 21.8409 9.83904 21.6835 9.83904C21.5261 9.83904 21.3986 9.71145 21.3986 9.55405V7.55912Z" fill="white"></path></g><defs><filter id="filter0_d" x="2.99988" y="10.162" width="10.7229" height="3.41835" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1"></feOffset><feGaussianBlur></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend></filter><filter id="filter1_d" x="3.46094" y="11.1871" width="9.80092" height="7.31881" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1"></feOffset><feGaussianBlur></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend></filter><filter id="filter2_d" x="23.3062" y="7.08197" width="4.69398" height="11.5969" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1"></feOffset><feGaussianBlur></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend></filter><filter id="filter3_d" x="17.5486" y="6.98914" width="6.55991" height="11.6898" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1"></feOffset><feGaussianBlur></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"></feBlend></filter></defs></svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24" fill="none">
2
+ <rect width="32" height="24" rx="4" fill="#FBB427"/>
3
+ <g filter="url(#filter0_d)">
4
+ <path d="M4.34066 11.5804H12.382C12.5702 11.5804 12.7228 11.4279 12.7228 11.2397V10.5028C12.7228 10.3146 12.5702 10.162 12.382 10.162H4.34066C4.15247 10.162 3.99992 10.3146 3.99992 10.5028V11.2397C3.99992 11.4279 4.15247 11.5804 4.34066 11.5804Z" fill="white"/>
5
+ </g>
6
+ <g filter="url(#filter1_d)">
7
+ <path d="M4.80165 16.5059H11.9211C12.1093 16.5059 12.2618 16.3534 12.2618 16.1652V11.1871H4.46092V16.1652C4.46092 16.3534 4.61347 16.5059 4.80165 16.5059Z" fill="white"/>
8
+ </g>
9
+ <path d="M12.2618 11.5804H4.46092V12.006H12.2618V11.5804Z" fill="#FBB427"/>
10
+ <path d="M8.05786 16.5059L8.05786 10.162L7.63235 10.162L7.63235 16.5059L8.05786 16.5059Z" fill="#FBB427"/>
11
+ <path d="M9.15442 16.5059L9.15442 10.162L8.72891 10.162L8.72891 16.5059L9.15442 16.5059Z" fill="#FBB427"/>
12
+ <path d="M8.36129 10.162C8.30691 10.162 8.25516 10.1388 8.21954 10.0972C8.18391 10.0563 8.16779 10.0019 8.17566 9.94829C8.17979 9.92016 8.59904 7.16205 10.7988 7.16205C11.7678 7.16205 12.1116 7.68555 12.1116 8.13367C12.1116 8.97591 10.948 10.162 8.36129 10.162ZM10.7988 7.53705C9.25678 7.53705 8.73104 9.18141 8.59041 9.78329C10.645 9.71954 11.7366 8.80229 11.7366 8.13367C11.7366 7.96717 11.6665 7.82992 11.5289 7.7268C11.3639 7.60267 11.1111 7.53705 10.7988 7.53705Z" fill="white"/>
13
+ <path d="M8.36169 10.162C5.77495 10.162 4.61133 8.97591 4.61133 8.13367C4.61133 7.85092 4.73845 7.59967 4.9687 7.4268C5.19933 7.25355 5.5297 7.16205 5.9242 7.16205C8.12394 7.16205 8.54318 9.92016 8.54731 9.94829C8.55518 10.0023 8.53906 10.0563 8.50343 10.0972C8.46781 10.1388 8.41606 10.162 8.36169 10.162ZM5.9242 7.53705C5.34557 7.53705 4.98633 7.76542 4.98633 8.13367C4.98633 8.80267 6.0787 9.71991 8.13444 9.78366C7.99831 9.17804 7.48569 7.53705 5.9242 7.53705Z" fill="white"/>
14
+ <line x1="15.5282" y1="2.5" x2="15.5282" y2="21.168" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 4"/>
15
+ <g filter="url(#filter2_d)">
16
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M27.0001 8.01114C27.0001 7.49547 26.6057 7.0448 26.0916 7.0844C26.0373 7.08858 25.9849 7.09421 25.936 7.10159C24.429 7.32904 24.2865 10.8347 24.308 12.5522C24.3146 13.0787 24.7489 13.4864 25.2754 13.4864H26.0001C26.5524 13.4864 27.0001 13.0387 27.0001 12.4864V8.01114ZM27.0001 14.0407C27.0001 13.7346 26.752 13.4865 26.4459 13.4865C26.1577 13.4865 25.9176 13.7074 25.8936 13.9946L25.7275 15.9885C25.6965 16.3602 25.9898 16.6789 26.3627 16.6789C26.7147 16.6789 27.0001 16.3935 27.0001 16.0415V14.0407Z" fill="white"/>
17
+ </g>
18
+ <g filter="url(#filter3_d)">
19
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M21.3986 7.55912C21.3986 7.24432 21.1434 6.98914 20.8286 6.98914C20.5138 6.98914 20.2586 7.24432 20.2586 7.55912V9.55405C20.2586 9.71145 20.131 9.83904 19.9736 9.83904C19.8162 9.83904 19.6886 9.71145 19.6886 9.55405V7.55915C19.6886 7.24434 19.4334 6.98914 19.1186 6.98914C18.8038 6.98914 18.5486 7.24434 18.5486 7.55915V9.94522C18.5486 10.0626 18.5688 10.1753 18.606 10.2799C18.7092 10.6679 18.9455 11.0017 19.263 11.2294C19.7225 11.559 20.2067 12.0169 20.1784 12.5817L20.0163 15.825C19.993 16.2896 20.3634 16.6789 20.8286 16.6789C21.2937 16.6789 21.6641 16.2895 21.6408 15.825L21.4787 12.5817C21.4504 12.0169 21.9347 11.559 22.3941 11.2294C22.7117 11.0017 22.948 10.6678 23.0512 10.2797C23.0883 10.1751 23.1085 10.0625 23.1085 9.94522V9.84537L23.1085 9.83906C23.1085 9.83905 23.1085 9.83905 23.1085 9.83904C23.1085 9.83904 23.1085 9.83903 23.1085 9.83903V7.55911C23.1085 7.24432 22.8533 6.98914 22.5385 6.98914C22.2237 6.98914 21.9685 7.24432 21.9685 7.55911V9.55405C21.9685 9.71145 21.8409 9.83904 21.6835 9.83904C21.5261 9.83904 21.3986 9.71145 21.3986 9.55405V7.55912Z" fill="white"/>
20
+ </g>
21
+ <defs>
22
+ <filter id="filter0_d" x="2.99988" y="10.162" width="10.7229" height="3.41835" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
23
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
24
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
25
+ <feOffset dy="1"/>
26
+ <feGaussianBlur stdDeviation="0.5"/>
27
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
28
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
29
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
30
+ </filter>
31
+ <filter id="filter1_d" x="3.46094" y="11.1871" width="9.80092" height="7.31881" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
32
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
33
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
34
+ <feOffset dy="1"/>
35
+ <feGaussianBlur stdDeviation="0.5"/>
36
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
37
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
38
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
39
+ </filter>
40
+ <filter id="filter2_d" x="23.3062" y="7.08197" width="4.69398" height="11.5969" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
41
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
42
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
43
+ <feOffset dy="1"/>
44
+ <feGaussianBlur stdDeviation="0.5"/>
45
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
46
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
47
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
48
+ </filter>
49
+ <filter id="filter3_d" x="17.5486" y="6.98914" width="6.55991" height="11.6898" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
50
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
51
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
52
+ <feOffset dy="1"/>
53
+ <feGaussianBlur stdDeviation="0.5"/>
54
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/>
55
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
56
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
57
+ </filter>
58
+ </defs>
59
+ </svg>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: daanvm, danielhuesken, davdebcom, dinamiko, inpsyde, l.vangunst, n
3
  Tags: mollie, payments, payment gateway, woocommerce, credit card, ideal, bancontact, klarna, sofort, giropay, woocommerce subscriptions
4
  Requires at least: 3.8
5
  Tested up to: 5.5
6
- Stable tag: 5.10.0
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -181,6 +181,13 @@ Automatic updates should work like a charm; as always though, ensure you backup
181
 
182
  == Changelog ==
183
 
 
 
 
 
 
 
 
184
  = 5.10.0 - 03-11-2020 =
185
 
186
  * Feature - New Voucher gateway
3
  Tags: mollie, payments, payment gateway, woocommerce, credit card, ideal, bancontact, klarna, sofort, giropay, woocommerce subscriptions
4
  Requires at least: 3.8
5
  Tested up to: 5.5
6
+ Stable tag: 5.11.0
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
181
 
182
  == Changelog ==
183
 
184
+ = 5.11.0 - 11-11-2020 =
185
+
186
+ * Fix - Google analytics duplicated tracking events
187
+ * Fix - Prevent third party plugins from changing billingCountry field
188
+ * Fix - Mollie Components string "secure payments..." not translated
189
+ * Fix - Credit card icons not displaying correctly
190
+
191
  = 5.10.0 - 03-11-2020 =
192
 
193
  * Feature - New Voucher gateway
src/Mollie/WC/Gateway/Abstract.php CHANGED
@@ -294,35 +294,38 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
294
 
295
  $currency = Mollie_WC_Plugin::getDataHelper()->getOrderCurrency( $order );
296
  } else {
297
- $currency = get_woocommerce_currency();
298
- }
299
 
300
- global $woocommerce;
301
- $billing_country = ( version_compare( WC_VERSION, '3.0', '<' ) ) ? $woocommerce->customer->get_country() : WC()->customer->get_billing_country();
302
- $billing_country = apply_filters( Mollie_WC_Plugin::PLUGIN_ID . '_is_available_billing_country_for_payment_gateways', $billing_country );
303
-
304
- // Get current locale for this user
305
- $payment_locale = Mollie_WC_Plugin::getSettingsHelper()->getPaymentLocale();
306
-
307
- $filters = array (
308
- 'amount' => array (
309
- 'currency' => $currency,
310
- 'value' => Mollie_WC_Plugin::getDataHelper()->formatCurrencyValue( $order_total, $currency )
311
- ),
312
- 'resource' => 'orders',
313
- 'locale' => $payment_locale,
314
- 'billingCountry' => $billing_country,
315
- 'sequenceType' => \Mollie\Api\Types\SequenceType::SEQUENCETYPE_ONEOFF
316
- );
317
 
318
- // For regular payments, check available payment methods, but ignore SSD gateway (not shown in checkout)
319
- $status = ( $this->id !== 'mollie_wc_gateway_directdebit' ) ? $this->isAvailableMethodInCheckout( $filters ) : false;
320
 
321
- // Do extra checks if WooCommerce Subscriptions is installed
322
- if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
- // Check recurring totals against recurring payment methods for future renewal payments
325
- $recurring_totals = $this->get_recurring_total();
326
 
327
  // See get_available_payment_gateways() in woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php
328
  $accept_manual_renewals = ( 'yes' == get_option( WC_Subscriptions_Admin::$option_prefix . '_accept_manual_renewals', 'no' ) ) ? true : false;
@@ -1707,7 +1710,7 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
1707
  $returnUrl = WC()->api_request_url( 'mollie_return' );
1708
  $returnUrl = untrailingslashit($returnUrl);
1709
  if (function_exists('idn_to_ascii')) {
1710
-
1711
  if (defined('IDNA_NONTRANSITIONAL_TO_ASCII') && defined('INTL_IDNA_VARIANT_UTS46')) {
1712
  $returnUrl = idn_to_ascii($returnUrl, IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46);
1713
  } else {
@@ -2051,11 +2054,8 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
2051
  <p class="mollie-components-description">
2052
  <?php
2053
  printf(
2054
- esc_html_x(
2055
- '%1$s Secure payments provided by %2$s',
2056
- 'Placeholder 1: lock icon, Placeholder 2: mollie logo',
2057
- 'mollie-payments-for-woocommerce'
2058
- ),
2059
  $this->lockIcon(),
2060
  $this->mollieLogo()
2061
  );
@@ -2266,20 +2266,71 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
2266
  }
2267
  if ($details->remainderMethod) {
2268
  $orderNoteLine .= sprintf(
2269
- esc_html_x(
2270
- ' Remainder: %1$s %2$s %3$s.',
2271
- 'Placeholder 1: remainder method, Placeholder 2: amount value, Placeholder 3: currency',
2272
- 'mollie-payments-for-woocommerce'
2273
- ),
2274
- $details->remainderMethod,
2275
- $details->remainderAmount->value,
2276
- $details->remainderAmount->currency
2277
  );
2278
  }
2279
 
2280
  $order->add_order_note($orderNoteLine);
2281
  }
2282
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2283
  /**
2284
  * CHECK WOOCOMMERCE PRODUCTS
2285
  * Make sure all cart items are real WooCommerce products,
294
 
295
  $currency = Mollie_WC_Plugin::getDataHelper()->getOrderCurrency( $order );
296
  } else {
297
+ $currency = get_woocommerce_currency();
298
+ }
299
 
300
+ global $woocommerce;
301
+ $billing_country = (version_compare(WC_VERSION, '3.0',
302
+ '<')) ? $woocommerce->customer->get_country() : WC()->customer->get_billing_country();
303
+ $billing_country = apply_filters(Mollie_WC_Plugin::PLUGIN_ID . '_is_available_billing_country_for_payment_gateways',
304
+ $billing_country);
 
 
 
 
 
 
 
 
 
 
 
 
305
 
306
+ // Get current locale for this user
307
+ $payment_locale = Mollie_WC_Plugin::getSettingsHelper()->getPaymentLocale();
308
 
309
+ try {
310
+ $filters = $this->getFilters(
311
+ $currency,
312
+ $order_total,
313
+ $payment_locale,
314
+ $billing_country
315
+ );
316
+ } catch (InvalidArgumentException $exception) {
317
+ Mollie_WC_Plugin::debug($exception->getMessage());
318
+ return false;
319
+ }
320
+
321
+ // For regular payments, check available payment methods, but ignore SSD gateway (not shown in checkout)
322
+ $status = ($this->id !== 'mollie_wc_gateway_directdebit') ? $this->isAvailableMethodInCheckout($filters) : false;
323
+
324
+ // Do extra checks if WooCommerce Subscriptions is installed
325
+ if (class_exists('WC_Subscriptions') && class_exists('WC_Subscriptions_Admin')) {
326
 
327
+ // Check recurring totals against recurring payment methods for future renewal payments
328
+ $recurring_totals = $this->get_recurring_total();
329
 
330
  // See get_available_payment_gateways() in woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php
331
  $accept_manual_renewals = ( 'yes' == get_option( WC_Subscriptions_Admin::$option_prefix . '_accept_manual_renewals', 'no' ) ) ? true : false;
1710
  $returnUrl = WC()->api_request_url( 'mollie_return' );
1711
  $returnUrl = untrailingslashit($returnUrl);
1712
  if (function_exists('idn_to_ascii')) {
1713
+
1714
  if (defined('IDNA_NONTRANSITIONAL_TO_ASCII') && defined('INTL_IDNA_VARIANT_UTS46')) {
1715
  $returnUrl = idn_to_ascii($returnUrl, IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46);
1716
  } else {
2054
  <p class="mollie-components-description">
2055
  <?php
2056
  printf(
2057
+ __(esc_html('%1$s Secure payments provided by %2$s'),
2058
+ 'mollie-payments-for-woocommerce'),
 
 
 
2059
  $this->lockIcon(),
2060
  $this->mollieLogo()
2061
  );
2266
  }
2267
  if ($details->remainderMethod) {
2268
  $orderNoteLine .= sprintf(
2269
+ esc_html_x(
2270
+ ' Remainder: %1$s %2$s %3$s.',
2271
+ 'Placeholder 1: remainder method, Placeholder 2: amount value, Placeholder 3: currency',
2272
+ 'mollie-payments-for-woocommerce'
2273
+ ),
2274
+ $details->remainderMethod,
2275
+ $details->remainderAmount->value,
2276
+ $details->remainderAmount->currency
2277
  );
2278
  }
2279
 
2280
  $order->add_order_note($orderNoteLine);
2281
  }
2282
 
2283
+ /**
2284
+ * Returns a list of filters, ensuring that the values are valid.
2285
+ * @param $currency
2286
+ * @param $orderTotal
2287
+ * @param $paymentLocale
2288
+ * @param $billingCountry
2289
+ * @return array
2290
+ * @throws InvalidArgumentException
2291
+ */
2292
+ protected function getFilters($currency, $orderTotal, $paymentLocale, $billingCountry)
2293
+ {
2294
+ $amountValue = $this->getAmountValue($orderTotal, $currency);
2295
+ if ($amountValue <= 0) {
2296
+ throw new InvalidArgumentException(sprintf('Amount %s is not valid.', $amountValue));
2297
+ }
2298
+
2299
+ // Check if currency is in ISO 4217 alpha-3 format (ex: EUR)
2300
+ if (!preg_match('/^[a-zA-Z]{3}$/', $currency)) {
2301
+ throw new InvalidArgumentException(sprintf('Currency %s is not valid.', $currency));
2302
+ }
2303
+
2304
+ // Check if billing country is in ISO 3166-1 alpha-2 format (ex: NL)
2305
+ if (!preg_match('/^[a-zA-Z]{2}$/', $billingCountry)) {
2306
+ throw new InvalidArgumentException(sprintf('Billing Country %s is not valid.', $billingCountry));
2307
+ }
2308
+
2309
+ return [
2310
+ 'amount' => [
2311
+ 'currency' => $currency,
2312
+ 'value' => $amountValue,
2313
+ ],
2314
+ 'locale' => $paymentLocale,
2315
+ 'billingCountry' => $billingCountry,
2316
+ 'sequenceType' => \Mollie\Api\Types\SequenceType::SEQUENCETYPE_ONEOFF,
2317
+ 'resource' => 'orders',
2318
+ ];
2319
+ }
2320
+
2321
+ /**
2322
+ * @param $order_total
2323
+ * @param $currency
2324
+ * @return int
2325
+ */
2326
+ protected function getAmountValue($order_total, $currency)
2327
+ {
2328
+ return Mollie_WC_Plugin::getDataHelper()->formatCurrencyValue(
2329
+ $order_total,
2330
+ $currency
2331
+ );
2332
+ }
2333
+
2334
  /**
2335
  * CHECK WOOCOMMERCE PRODUCTS
2336
  * Make sure all cart items are real WooCommerce products,
src/Mollie/WC/Gateway/Creditcard.php CHANGED
@@ -19,7 +19,12 @@ class Mollie_WC_Gateway_Creditcard extends Mollie_WC_Gateway_AbstractSubscriptio
19
  }
20
 
21
  public function get_icon() {
22
- $output = $this->icon ? $this->icon : '';
 
 
 
 
 
23
  if ($this->enabledCreditcards()
24
  && !is_admin()
25
  ) {
19
  }
20
 
21
  public function get_icon() {
22
+ $url = Mollie_WC_Plugin::getPluginUrl(
23
+ "public/images/creditcard.svg"
24
+ );
25
+ $localAsset = '<img src="' . esc_attr($url)
26
+ . '" style="width: 32px; vertical-align: bottom;" />';
27
+ $output = $this->icon ? $localAsset : '';
28
  if ($this->enabledCreditcards()
29
  && !is_admin()
30
  ) {
src/Mollie/WC/Helper/PaymentMethodsIconUrl.php CHANGED
@@ -42,9 +42,7 @@ class Mollie_WC_Helper_PaymentMethodsIconUrl
42
  */
43
  public function svgUrlForPaymentMethod($paymentMethodName)
44
  {
45
- return isset($this->paymentMethodImages[$paymentMethodName]->svg)
46
- ? $this->getSvgImageFromUrl($paymentMethodName)
47
- : $this->fallToAssets($paymentMethodName);
48
  }
49
 
50
  /**
@@ -82,7 +80,7 @@ class Mollie_WC_Helper_PaymentMethodsIconUrl
82
  );
83
 
84
  return '<img src="' . esc_attr($svgUrl)
85
- . '" style="width: 25px; vertical-align: bottom;" />';
86
  }
87
 
88
  /**
42
  */
43
  public function svgUrlForPaymentMethod($paymentMethodName)
44
  {
45
+ return $this->fallToAssets($paymentMethodName);
 
 
46
  }
47
 
48
  /**
80
  );
81
 
82
  return '<img src="' . esc_attr($svgUrl)
83
+ . '" style="width: 32px; vertical-align: bottom;" />';
84
  }
85
 
86
  /**
src/Mollie/WC/Payment/Order.php CHANGED
@@ -327,19 +327,15 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
327
  );
328
 
329
  // Subscription processing
330
- if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
331
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
332
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->id ) ) {
333
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
334
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
335
- }
336
- } else {
337
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->get_id() ) ) {
338
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
339
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
340
- }
341
- }
342
- }
343
 
344
  } else {
345
 
@@ -358,15 +354,15 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
358
 
359
  // Get order ID in the correct way depending on WooCommerce version
360
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
361
- $order_id = $order->id;
362
  } else {
363
- $order_id = $order->get_id();
364
  }
365
 
366
  if ( $payment->isAuthorized() ) {
367
 
368
  // Add messages to log
369
- Mollie_WC_Plugin::debug( __METHOD__ . ' called for order ' . $order_id );
370
 
371
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
372
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
@@ -379,7 +375,7 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
379
  }
380
 
381
  // Add messages to log
382
- Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for order ' . $order_id );
383
 
384
  $order->add_order_note( sprintf(
385
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
@@ -392,31 +388,22 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
392
  $this->setOrderPaidAndProcessed( $order );
393
 
394
  // Remove (old) cancelled payments from this order
395
- $this->unsetCancelledMolliePaymentId( $order_id );
396
 
397
  // Add messages to log
398
- Mollie_WC_Plugin::debug( __METHOD__ . ' processing order status update via Mollie plugin fully completed for order ' . $order_id );
399
 
400
  // Subscription processing
401
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
402
-
403
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
404
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->id ) ) {
405
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
406
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
407
- }
408
- } else {
409
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->get_id() ) ) {
410
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
411
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
412
- }
413
- }
414
  }
415
 
416
  } else {
417
 
418
  // Add messages to log
419
- Mollie_WC_Plugin::debug( __METHOD__ . ' order at Mollie not authorized, so no processing for order ' . $order_id );
420
 
421
  }
422
  }
@@ -430,15 +417,15 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
430
 
431
  // Get order ID in the correct way depending on WooCommerce version
432
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
433
- $order_id = $order->id;
434
  } else {
435
- $order_id = $order->get_id();
436
  }
437
 
438
  if ( $payment->isCompleted() ) {
439
 
440
  // Add messages to log
441
- Mollie_WC_Plugin::debug( __METHOD__ . ' called for order ' . $order_id );
442
 
443
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
444
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
@@ -451,7 +438,7 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
451
  }
452
 
453
  // Add messages to log
454
- Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for order ' . $order_id );
455
 
456
  $order->add_order_note( sprintf(
457
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
@@ -466,30 +453,22 @@ class Mollie_WC_Payment_Order extends Mollie_WC_Payment_Object {
466
  $this->setOrderPaidAndProcessed( $order );
467
 
468
  // Remove (old) cancelled payments from this order
469
- $this->unsetCancelledMolliePaymentId( $order_id );
470
 
471
  // Add messages to log
472
- Mollie_WC_Plugin::debug( __METHOD__ . ' processing order status update via Mollie plugin fully completed for order ' . $order_id );
473
 
474
  // Subscription processing
475
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
476
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
477
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->id ) ) {
478
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
479
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
480
- }
481
- } else {
482
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->get_id() ) ) {
483
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
484
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
485
- }
486
- }
487
  }
488
 
489
  } else {
490
 
491
  // Add messages to log
492
- Mollie_WC_Plugin::debug( __METHOD__ . ' order at Mollie not completed, so no further processing for order ' . $order_id );
493
 
494
  }
495
  }
327
  );
328
 
329
  // Subscription processing
330
+ if (class_exists('WC_Subscriptions')
331
+ && class_exists(
332
+ 'WC_Subscriptions_Admin'
333
+ )
334
+ ) {
335
+ if (Mollie_WC_Plugin::getDataHelper()->isSubscription($orderId)) {
336
+ $this->deleteSubscriptionOrderFromPendingPaymentQueue($order);
337
+ }
338
+ }
 
 
 
 
339
 
340
  } else {
341
 
354
 
355
  // Get order ID in the correct way depending on WooCommerce version
356
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
357
+ $orderId = $order->id;
358
  } else {
359
+ $orderId = $order->get_id();
360
  }
361
 
362
  if ( $payment->isAuthorized() ) {
363
 
364
  // Add messages to log
365
+ Mollie_WC_Plugin::debug( __METHOD__ . ' called for order ' . $orderId );
366
 
367
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
368
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
375
  }
376
 
377
  // Add messages to log
378
+ Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for order ' . $orderId );
379
 
380
  $order->add_order_note( sprintf(
381
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
388
  $this->setOrderPaidAndProcessed( $order );
389
 
390
  // Remove (old) cancelled payments from this order
391
+ $this->unsetCancelledMolliePaymentId( $orderId );
392
 
393
  // Add messages to log
394
+ Mollie_WC_Plugin::debug( __METHOD__ . ' processing order status update via Mollie plugin fully completed for order ' . $orderId );
395
 
396
  // Subscription processing
397
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
398
+ if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $orderId ) ) {
399
+ $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
400
+ }
 
 
 
 
 
 
 
 
 
401
  }
402
 
403
  } else {
404
 
405
  // Add messages to log
406
+ Mollie_WC_Plugin::debug( __METHOD__ . ' order at Mollie not authorized, so no processing for order ' . $orderId );
407
 
408
  }
409
  }
417
 
418
  // Get order ID in the correct way depending on WooCommerce version
419
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
420
+ $orderId = $order->id;
421
  } else {
422
+ $orderId = $order->get_id();
423
  }
424
 
425
  if ( $payment->isCompleted() ) {
426
 
427
  // Add messages to log
428
+ Mollie_WC_Plugin::debug( __METHOD__ . ' called for order ' . $orderId );
429
 
430
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
431
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
438
  }
439
 
440
  // Add messages to log
441
+ Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for order ' . $orderId );
442
 
443
  $order->add_order_note( sprintf(
444
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
453
  $this->setOrderPaidAndProcessed( $order );
454
 
455
  // Remove (old) cancelled payments from this order
456
+ $this->unsetCancelledMolliePaymentId( $orderId );
457
 
458
  // Add messages to log
459
+ Mollie_WC_Plugin::debug( __METHOD__ . ' processing order status update via Mollie plugin fully completed for order ' . $orderId );
460
 
461
  // Subscription processing
462
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
463
+ if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $orderId ) ) {
464
+ $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
465
+ }
 
 
 
 
 
 
 
 
466
  }
467
 
468
  } else {
469
 
470
  // Add messages to log
471
+ Mollie_WC_Plugin::debug( __METHOD__ . ' order at Mollie not completed, so no further processing for order ' . $orderId );
472
 
473
  }
474
  }
src/Mollie/WC/Payment/Payment.php CHANGED
@@ -208,15 +208,15 @@ class Mollie_WC_Payment_Payment extends Mollie_WC_Payment_Object {
208
 
209
  // Get order ID in the correct way depending on WooCommerce version
210
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
211
- $order_id = $order->id;
212
  } else {
213
- $order_id = $order->get_id();
214
  }
215
 
216
  if ( $payment->isPaid() ) {
217
 
218
  // Add messages to log
219
- Mollie_WC_Plugin::debug( __METHOD__ . ' called for payment ' . $order_id );
220
 
221
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
222
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
@@ -228,7 +228,7 @@ class Mollie_WC_Payment_Payment extends Mollie_WC_Payment_Object {
228
  }
229
 
230
  // Add messages to log
231
- Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for payment ' . $order_id );
232
 
233
  $order->add_order_note( sprintf(
234
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
@@ -241,31 +241,22 @@ class Mollie_WC_Payment_Payment extends Mollie_WC_Payment_Object {
241
  $this->setOrderPaidAndProcessed( $order );
242
 
243
  // Remove (old) cancelled payments from this order
244
- $this->unsetCancelledMolliePaymentId( $order_id );
245
 
246
  // Add messages to log
247
- Mollie_WC_Plugin::debug( __METHOD__ . ' processing paid payment via Mollie plugin fully completed for order ' . $order_id );
248
 
249
  // Subscription processing
250
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
251
-
252
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
253
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->id ) ) {
254
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
255
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
256
- }
257
- } else {
258
- if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $order->get_id() ) ) {
259
- $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
260
- WC_Subscriptions_Manager::activate_subscriptions_for_order( $order );
261
- }
262
- }
263
  }
264
 
265
  } else {
266
 
267
  // Add messages to log
268
- Mollie_WC_Plugin::debug( __METHOD__ . ' payment at Mollie not paid, so no processing for order ' . $order_id );
269
 
270
  }
271
 
208
 
209
  // Get order ID in the correct way depending on WooCommerce version
210
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
211
+ $orderId = $order->id;
212
  } else {
213
+ $orderId = $order->get_id();
214
  }
215
 
216
  if ( $payment->isPaid() ) {
217
 
218
  // Add messages to log
219
+ Mollie_WC_Plugin::debug( __METHOD__ . ' called for payment ' . $orderId );
220
 
221
  // WooCommerce 2.2.0 has the option to store the Payment transaction id.
222
  $woo_version = get_option( 'woocommerce_version', 'Unknown' );
228
  }
229
 
230
  // Add messages to log
231
+ Mollie_WC_Plugin::debug( __METHOD__ . ' WooCommerce payment_complete() processed and returned to ' . __METHOD__ . ' for payment ' . $orderId );
232
 
233
  $order->add_order_note( sprintf(
234
  /* translators: Placeholder 1: payment method title, placeholder 2: payment ID */
241
  $this->setOrderPaidAndProcessed( $order );
242
 
243
  // Remove (old) cancelled payments from this order
244
+ $this->unsetCancelledMolliePaymentId( $orderId );
245
 
246
  // Add messages to log
247
+ Mollie_WC_Plugin::debug( __METHOD__ . ' processing paid payment via Mollie plugin fully completed for order ' . $orderId );
248
 
249
  // Subscription processing
250
  if ( class_exists( 'WC_Subscriptions' ) && class_exists( 'WC_Subscriptions_Admin' ) ) {
251
+ if ( Mollie_WC_Plugin::getDataHelper()->isSubscription( $orderId ) ) {
252
+ $this->deleteSubscriptionOrderFromPendingPaymentQueue( $order );
253
+ }
 
 
 
 
 
 
 
 
 
254
  }
255
 
256
  } else {
257
 
258
  // Add messages to log
259
+ Mollie_WC_Plugin::debug( __METHOD__ . ' payment at Mollie not paid, so no processing for order ' . $orderId );
260
 
261
  }
262
 
src/Mollie/WC/Plugin.php CHANGED
@@ -8,7 +8,7 @@ class Mollie_WC_Plugin
8
  {
9
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
10
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
11
- const PLUGIN_VERSION = '5.10.0';
12
 
13
  const DB_VERSION = '1.0';
14
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
8
  {
9
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
10
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
11
+ const PLUGIN_VERSION = '5.11.0';
12
 
13
  const DB_VERSION = '1.0';
14
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitf70a0f41b078d169eea764ab1da660cc::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitb22d72ada7ccd1c9363b95d86c5d2e63
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequireb22d72ada7ccd1c9363b95d86c5d2e63($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequireb22d72ada7ccd1c9363b95d86c5d2e63($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitf70a0f41b078d169eea764ab1da660cc
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitf70a0f41b078d169eea764ab1da660cc', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitf70a0f41b078d169eea764ab1da660cc', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequiref70a0f41b078d169eea764ab1da660cc($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequiref70a0f41b078d169eea764ab1da660cc($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
@@ -297,10 +297,10 @@ class ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63
297
  public static function getInitializer(ClassLoader $loader)
298
  {
299
  return \Closure::bind(function () use ($loader) {
300
- $loader->prefixLengthsPsr4 = ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::$prefixLengthsPsr4;
301
- $loader->prefixDirsPsr4 = ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::$prefixDirsPsr4;
302
- $loader->prefixesPsr0 = ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::$prefixesPsr0;
303
- $loader->classMap = ComposerStaticInitb22d72ada7ccd1c9363b95d86c5d2e63::$classMap;
304
 
305
  }, null, ClassLoader::class);
306
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitf70a0f41b078d169eea764ab1da660cc
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
297
  public static function getInitializer(ClassLoader $loader)
298
  {
299
  return \Closure::bind(function () use ($loader) {
300
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::$prefixLengthsPsr4;
301
+ $loader->prefixDirsPsr4 = ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::$prefixDirsPsr4;
302
+ $loader->prefixesPsr0 = ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::$prefixesPsr0;
303
+ $loader->classMap = ComposerStaticInitf70a0f41b078d169eea764ab1da660cc::$classMap;
304
 
305
  }, null, ClassLoader::class);
306
  }