@proximafortedev/payxy-payment-gateway-core 1.0.1 → 1.0.3

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.
package/README.md CHANGED
@@ -83,7 +83,7 @@ const payxy = new Payxy({
83
83
  env: "test", // Options: 'test', 'staging', 'prod', 'development'
84
84
  accessCode: "YOUR_PAYMENT_ACCESS_CODE",
85
85
  onSuccess: (data) => console.log("Payment Successful:", data),
86
- onError: (error) => console.error("Payment Failed:", error)
86
+ onError: (error) => console.error("Payment Failed:", error),
87
87
  });
88
88
 
89
89
  // Launch the payment process
@@ -99,6 +99,7 @@ payxy.init();
99
99
  The `Dockerfile` is optimized for multi-environment builds. It uses Nginx to serve the static artifacts.
100
100
 
101
101
  **Build Command:**
102
+
102
103
  ```bash
103
104
  docker build \
104
105
  --build-arg VITE_ENV=prod \
@@ -110,10 +111,12 @@ docker build \
110
111
  ### GitHub Actions (CI/CD)
111
112
 
112
113
  The workflow in `.github/workflows/main.yml` automatically builds and deploys the gateway based on branch pushes:
114
+
113
115
  - **`staging` branch**: Deploys to the staging environment.
114
116
  - **`prod` branch**: Deploys to the production environment.
115
117
 
116
118
  **Required GitHub Secrets:**
119
+
117
120
  - `TEST_VITE_API_BASE_URL`
118
121
  - `STAGING_VITE_API_BASE_URL`
119
122
  - `PROD_VITE_API_BASE_URL`
@@ -1 +1 @@
1
- .ant-radio-wrapper{border-bottom:1px solid #00000010!important;padding-top:3rem;padding-bottom:2rem;width:100%!important}.ant-radio-wrapper:first-child{padding-top:0!important}.ant-radio-wrapper .ant-radio-checked .ant-radio-inner{border:5px solid #e1edff!important}.ant-radio-wrapper .ant-radio-inner:after{background-color:#0569ff!important}@media (width <= 767px){.ant-radio-wrapper{padding-top:1rem;padding-bottom:1rem}}.ant-tabs-tab{font-weight:300!important}
1
+ .ant-radio-wrapper{border-bottom:1px solid #00000010!important;padding-top:3rem;padding-bottom:2rem;width:100%!important}.ant-radio-wrapper:first-child{padding-top:0!important}.ant-radio-wrapper .ant-radio-checked .ant-radio-inner{border:5px solid #e1edff!important}.ant-radio-wrapper .ant-radio-inner:after{background-color:#0569ff!important}.ant-tabs-tab{font-weight:300!important}