Socket
Socket
Sign inDemoInstall

pay-redoya

Package Overview
Dependencies
18
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pay-redoya

A module that made for using Redoya.NET Pay API very easier.


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

pay-redoya

A module that mode for Redoya.NET Pay API

Installation

npm i pay-redoya

API

RedoyaPay.createOrderURL(price, isInTestMode, successfulURL, failURL, vendorToken, secret, expiresIn)

Creates and returns a URL to redirect the customer to the link for making a payment.

await RedoyaPay.verifyOrder(orderId, vendorToken)

Returns an object with the order result. Click to see the API docs for more information. (Look at API > POST /api/v1/order/verify/:orderId section.)

Example

Check example folder.

FAQs

Last updated on 07 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc