Angular SDK
The Angular SDK from FedaPay allows for seamless integration of payment functionalities into robust front-end applications. It simplifies API interactions and enables quick implementation of secure payment solutions.
Installation
Add the library to your project using npm
Use Case
This use case demonstrates how to easily integrate and configure the FedaPay payment button and widget in an Angular application to securely handle online transactions.
Explore additional examples on the FedaPay Angular SDK GitHub repository.
Ensure you use the appropriate public key based on your environment :
- For the sandbox (test) environment, use the public key from your sandbox account. For the live (production) environment, use the public key from your live account.
When integrating FedaPay into an Angular application, make sure the global FedaPay object is properly loaded in the browser before using callbacks like onComplete. If you encounter issues, verify that the FedaPay script is included in the angular.json file under the scripts section. For example: