strapi-plugin-payone-provider 1.6.4 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,4 @@
1
1
  import React from "react";
2
- <<<<<<< HEAD
3
- import { Box, Flex, Typography, Select, Option, Checkbox, Stack } from "@strapi/design-system";
4
- =======
5
2
  import {
6
3
  Box,
7
4
  Flex,
@@ -11,47 +8,27 @@ import {
11
8
  Checkbox,
12
9
  Stack,
13
10
  } from "@strapi/design-system";
14
- >>>>>>> release/1.6.4
15
11
  import {
16
12
  GOOGLE_PAY_SUPPORTED_COUNTRIES,
17
13
  GOOGLE_PAY_SUPPORTED_CURRENCIES,
18
14
  GOOGLE_PAY_SUPPORTED_NETWORKS,
19
15
  GOOGLE_PAY_AUTH_METHODS,
20
- <<<<<<< HEAD
21
- DEFAULT_GOOGLE_PAY_CONFIG
22
- } from "../../utils/googlePayConstants";
23
-
24
- const GooglePayConfig = ({
25
- config,
26
- onConfigChange,
27
- settings
28
- }) => {
29
- =======
30
16
  DEFAULT_GOOGLE_PAY_CONFIG,
31
17
  } from "../../utils/googlePayConstants";
32
18
 
33
19
  const GooglePayConfig = ({ config, onConfigChange, settings }) => {
34
- >>>>>>> release/1.6.4
35
20
  const {
36
21
  countryCode = DEFAULT_GOOGLE_PAY_CONFIG.countryCode,
37
22
  currencyCode = DEFAULT_GOOGLE_PAY_CONFIG.currencyCode,
38
23
  allowedCardNetworks = DEFAULT_GOOGLE_PAY_CONFIG.allowedCardNetworks,
39
24
  allowedAuthMethods = DEFAULT_GOOGLE_PAY_CONFIG.allowedAuthMethods,
40
- <<<<<<< HEAD
41
- merchantName = DEFAULT_GOOGLE_PAY_CONFIG.merchantName
42
- =======
43
25
  merchantName = DEFAULT_GOOGLE_PAY_CONFIG.merchantName,
44
- >>>>>>> release/1.6.4
45
26
  } = config || {};
46
27
 
47
28
  const handleCountryChange = (value) => {
48
29
  onConfigChange({
49
30
  ...config,
50
- <<<<<<< HEAD
51
- countryCode: value
52
- =======
53
31
  countryCode: value,
54
- >>>>>>> release/1.6.4
55
32
  });
56
33
  };
57
34
 
@@ -76,14 +76,6 @@ const usePaymentActions = () => {
76
76
  };
77
77
 
78
78
  const handlePreauthorization = async (tokenParam = null) => {
79
- <<<<<<< HEAD
80
- console.log("[Payment] handlePreauthorization called", {
81
- hasToken: !!tokenParam,
82
- paymentMethod,
83
- amount: paymentAmount
84
- });
85
- =======
86
- >>>>>>> release/1.6.4
87
79
  setIsProcessingPayment(true);
88
80
  setPaymentError(null);
89
81
  setPaymentResult(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-payone-provider",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Strapi plugin for Payone payment gateway integration",
5
5
  "license": "MIT",
6
6
  "maintainers": [