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
+50-49Lines changed: 50 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,61 +46,62 @@ examples for see the `/example` folder.
46
46
47
47
**Here is the example code**
48
48
```
49
-
BkashPayment(
50
-
// amount of your bkash payment
51
-
amount: '20',
52
-
// intent would be (sale / authorization)
53
-
intent: 'sale',
54
-
// accessToken: '', // if the user have own access token for verify payment
55
-
// currency: 'BDT', // bkash url for create payment, when you implement on you project then it be change as your production create url createBKashUrl: 'https://merchantserver.sandbox.bka.sh/api/checkout/v1.2.0-beta/payment/create',
56
-
// bkash url for execute payment, , when you implement on you project then it be change as your production create url
-**intent** - it would be 'sale' or 'authorization'
106
-
- Payment status return as 'paymentSuccess', 'paymentFailed', 'paymentError', 'paymentClose', find on this keyword of the payment status, then you get the data of response on specific status.
107
+
- Payment status return as 'paymentSuccess', 'paymentFailed', 'paymentError', 'paymentClose', find on this keyword of the payment status, then you get the data of response on specific status.
0 commit comments