@akinon/pz-gpay 1.47.0-rc.7 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1 -25
- package/package.json +1 -1
- package/readme.md +11 -26
package/CHANGELOG.md
CHANGED
@@ -1,30 +1,6 @@
|
|
1
1
|
# @akinon/pz-gpay
|
2
2
|
|
3
|
-
## 1.47.0
|
4
|
-
|
5
|
-
### Minor Changes
|
6
|
-
|
7
|
-
- 50b9069: ZERO-2767: update plugin readme files
|
8
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
9
|
-
|
10
|
-
## 1.47.0-rc.6
|
11
|
-
|
12
|
-
## 1.47.0-rc.5
|
13
|
-
|
14
|
-
## 1.47.0-rc.4
|
15
|
-
|
16
|
-
## 1.47.0-rc.3
|
17
|
-
|
18
|
-
## 1.47.0-rc.2
|
19
|
-
|
20
|
-
## 1.47.0-rc.1
|
21
|
-
|
22
|
-
## 1.47.0-rc.0
|
23
|
-
|
24
|
-
### Minor Changes
|
25
|
-
|
26
|
-
- 50b9069: ZERO-2767: update plugin readme files
|
27
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
3
|
+
## 1.47.0
|
28
4
|
|
29
5
|
## 1.46.0
|
30
6
|
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -1,39 +1,24 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
### Install the npm package
|
4
|
-
|
5
|
-
```bash
|
6
|
-
# For latest version
|
7
|
-
yarn add @akinon/pz-gpay
|
8
|
-
|
9
|
-
# Preferred installation method
|
10
|
-
npx @akinon/projectzero@latest --plugins
|
11
|
-
```
|
1
|
+
# pz-gpay
|
12
2
|
|
13
3
|
### Example Usage
|
14
4
|
##### File Path: src/views/checkout/steps/payment/options/gpay.tsx
|
15
5
|
|
16
6
|
```javascript
|
17
|
-
import
|
7
|
+
import { GPayOption } from '@akinon/pz-gpay';
|
18
8
|
|
19
|
-
|
9
|
+
export default function GPay() {
|
20
10
|
return (
|
21
|
-
<
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
'Click the button below to pay for your order using GarantiPay.',
|
28
|
-
button: 'Pay Now'
|
29
|
-
},
|
30
|
-
titleClassName: 'text-4xl'
|
11
|
+
<GPayOption
|
12
|
+
translations={{
|
13
|
+
title: 'Pay with GarantiPay',
|
14
|
+
description:
|
15
|
+
'Click the button below to pay for your order using GarantiPay.',
|
16
|
+
button: 'Pay Now'
|
31
17
|
}}
|
18
|
+
titleClassName="text-4xl"
|
32
19
|
/>
|
33
20
|
);
|
34
|
-
}
|
35
|
-
|
36
|
-
export default GPay;
|
21
|
+
}
|
37
22
|
```
|
38
23
|
|
39
24
|
##### File Path: src/app/[commerce]/[locale]/[currency]/orders/garanti-pay-redirect/page.tsx
|