You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89-31Lines changed: 89 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# Cashfree PG Python SDK
2
-

1
+
# Cashfree PG Node SDK
2
+
[](https://coveralls.io/github/cashfree/cashfree-pg-sdk-nodejs?branch=main)
3
3
4
-
The Cashfree PG Python SDK offers a convenient solution to access [Cashfree PG APIs](https://docs.cashfree.com/reference/pg-new-apis-endpoint) from a server-side Go applications.
4
+
The Cashfree PG Node SDK offers a convenient solution to access [Cashfree PG APIs](https://docs.cashfree.com/reference/pg-new-apis-endpoint) from a server-side JavaScript applications.
5
5
6
6
7
7
@@ -17,44 +17,103 @@ Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com
17
17
18
18
### Installation
19
19
```bash
20
-
pip install cashfree_pg
20
+
npm i cashfree-pg
21
21
```
22
22
### Configuration
23
23
24
-
```python
25
-
from cashfree_pg.models.create_order_request import CreateOrderRequest
26
-
from cashfree_pg.api_client import Cashfree
27
-
from cashfree_pg.models.customer_details import CustomerDetails
28
-
from cashfree_pg.models.order_meta import OrderMeta
24
+
## Version >=5
29
25
30
-
Cashfree.XClientId ="<x-client-id>"
31
-
Cashfree.XClientSecret ="<x-client-secret>"
32
-
Cashfree.XEnvironment = Cashfree.SANDBOX
33
-
x_api_version ="2023-08-01"
26
+
```javascript
27
+
import { Cashfree } from"cashfree-pg";
28
+
29
+
var cashfree =newCashfree(Cashfree.SANDBOX, "<x-client-id>", "<x-client-secret>")
34
30
```
35
31
36
32
Generate your API keys (x-client-id , x-client-secret) from [Cashfree Merchant Dashboard](https://merchant.cashfree.com/merchants/login)
0 commit comments