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
| tx_ref | True | Your transaction reference. This MUST be unique for every transaction |
336
+
| amount | True | Amount to charge the customer. |
337
+
| currency | False | currency to charge in. Defaults to NGN
338
+
|
339
+
| integrity_hash | False | This is a sha256 hash of your FlutterwaveCheckout values, it is used for passing secured values to the payment gateway. |
340
+
| payment_options | True | This specifies the payment options to be displayed e.g - card, mobilemoney, ussd and so on. |
341
+
| payment_plan | False | This is the payment plan ID used for Recurring billing
342
+
|
343
+
| redirect_url | False | URL to redirect to when a transaction is completed. This is useful for 3DSecure payments so we can redirect your customer back to a custom page you want to show them. |
344
+
| customer | True | This is an object that can contains your customer details: e.g - 'customer': {'email': 'example@example.com','phonenumber': '08012345678','name': 'Takeshi Kovacs' } |
345
+
| subaccounts | False | This is an array of objects containing the subaccount IDs to split the payment into. Check our Split Payment page for more info |
346
+
| meta | False | This is an object that helps you include additional payment information to your request e.g {'consumer_id': 23,'consumer_mac': '92a3-912ba-1192a' } |
347
+
| customizations | True | This is an object that contains title, logo, and description you want to display on the modal e.g{'title': 'Pied Piper Payments','description': 'Middleout isn't free. Pay the price','logo': 'https://assets.piedpiper.com/logo.png' } |
348
+
| callback (function) | False | This is the function that runs after payment is completed |
349
+
| close (function) | False | This is the function that runs after payment modal is closed |
350
+
351
+
352
+
Methods provided by Flutterwave service and descriptions:
353
+
354
+
| Method Name | Parameters | Returns |Description |
| inlinePay | InlinePaymentOptions : Object | Null | This methods allows you to setup and open the payment modal via code |
357
+
| asyncInlinePay | AsyncPaymentOptions : Object | Promise | This methods allows you to setup and open the payment modal via code and returns a promise containing the payment response |
358
+
| closePaymentModal | waitDuration : number (Optional, default = 0) | Null | This methods allows you to close the payment modal via code. You can setup the wait time before modal close |
@@ -15,7 +26,7 @@ Flutterwave official Angular library to accept payment via card , USSD, QrCode
15
26
16
27
<aid="getting-started"></a>
17
28
18
-
## 🏁 Getting Started
29
+
## Getting Started
19
30
20
31
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See [deployment](#deployment) for notes on how to deploy the project on a live system.
21
32
See [references](#references) for links to dashboard and API documentation.
| tx_ref | True | Your transaction reference. This MUST be unique for every transaction |
336
+
| amount | True | Amount to charge the customer. |
337
+
| currency | False | currency to charge in. Defaults to NGN
338
+
|
339
+
| integrity_hash | False | This is a sha256 hash of your FlutterwaveCheckout values, it is used for passing secured values to the payment gateway. |
340
+
| payment_options | True | This specifies the payment options to be displayed e.g - card, mobilemoney, ussd and so on. |
341
+
| payment_plan | False | This is the payment plan ID used for Recurring billing
342
+
|
343
+
| redirect_url | False | URL to redirect to when a transaction is completed. This is useful for 3DSecure payments so we can redirect your customer back to a custom page you want to show them. |
344
+
| customer | True | This is an object that can contains your customer details: e.g - 'customer': {'email': 'example@example.com','phonenumber': '08012345678','name': 'Takeshi Kovacs' } |
345
+
| subaccounts | False | This is an array of objects containing the subaccount IDs to split the payment into. Check our Split Payment page for more info |
346
+
| meta | False | This is an object that helps you include additional payment information to your request e.g {'consumer_id': 23,'consumer_mac': '92a3-912ba-1192a' } |
347
+
| customizations | True | This is an object that contains title, logo, and description you want to display on the modal e.g{'title': 'Pied Piper Payments','description': 'Middleout isn't free. Pay the price','logo': 'https://assets.piedpiper.com/logo.png' } |
348
+
| callback (function) | False | This is the function that runs after payment is completed |
349
+
| close (function) | False | This is the function that runs after payment modal is closed |
350
+
351
+
352
+
Methods provided by Flutterwave service and descriptions:
353
+
354
+
| Method Name | Parameters | Returns |Description |
| inlinePay | InlinePaymentOptions : Object | Null | This methods allows you to setup and open the payment modal via code |
357
+
| asyncInlinePay | AsyncPaymentOptions : Object | Promise | This methods allows you to setup and open the payment modal via code and returns a promise containing the payment response |
358
+
| closePaymentModal | waitDuration : number (Optional, default = 0) | Null | This methods allows you to close the payment modal via code. You can setup the wait time before modal close |
359
+
360
+
361
+
362
+
270
363
<aid="deployment"></a>
271
-
## 🚀 Deployment
364
+
## Deployment
272
365
273
366
- Switch to Live Mode on the Dashboard settings page
274
-
- Use the Live Public API key
367
+
- Use the Live Public API key from the API tab
275
368
276
369
<aid="build-tools"></a>
277
-
## ⛏️ Built Using
370
+
## Built Using
278
371
279
372
-[Angular CLI](https://cli.angular.io/)
280
373
-[Typescript](https://www.typescriptlang.org/)
@@ -284,8 +377,12 @@ export class AppComponent{
284
377
285
378
286
379
<aid="references"></a>
287
-
## 🎉 Flutterwave API References
380
+
## Flutterwave API References
288
381
289
382
-[Flutterwave API Doc](https://developer.flutterwave.com/docs)
0 commit comments