====
This is the payment gateway integration of Kashier
Install the latest version with:
$ npm i kashier-gateway
-
NestJs
import { KashierService } from "kashier-gateway/nestjs"; // like any other service // get your instance from DI kashierService.getPaymentUrl(ORDER_DTO , OPTIONALS ); // return string (url to pay) kashierService.isPaymentSuccess(TRANSITION_RESPONSE); // return boolean
-
ExpressJs and Others
import { KashierNativeService , KashierConfigDto } from "kashier-gateway"; const config: KashierConfigDto = { }; const kashierService = KashierNativeService.getInstance( config); kashierService.generateOrderUrl(ORDER_DTO , OPTIONALS ); // return string (url to pay) kashierService.isSuccessfulPayment(TRANSITION_RESPONSE); // return boolean
Contact me on :
Email : elboray.alaa1@gmail.com
whatsapp : +201063745208
MIT License.