razorpay / razorpay/razorpay-node

Create payment link fails

Open
#354 4 comments 2 reactions 1 assignee View on GitHub

@ankitdas13 is already working on this.

Since Jul 3, 2023.

Dominant language
JavaScript
Stars
243
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce the behavior

Create payment link using the Razorpay.paymentLink.create interface.

This happens in v2.9.0. Our exisiting codebase fails to create a payment link which used to be working in v2.8.6

Expected behavior

Successful payment link creation.

Actual behavior

Error with description: Amount should be whole number

Code snippets

No response

Node version

Node v16.6

Library version

razorpay-node v2.9.0

Additional Information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.