Skip to content

fix: Boolean correction in doc#298

Merged
ankitdas13 merged 3 commits intomasterfrom
doc-boolean-fix
Jul 7, 2025
Merged

fix: Boolean correction in doc#298
ankitdas13 merged 3 commits intomasterfrom
doc-boolean-fix

Conversation

@ankitdas13
Copy link
Copy Markdown
Contributor

Note :- Please follow the below points while attaching test cases document link below:

- If label Tested is added then test cases document URL is mandatory.

- Link added should be a valid URL and accessible throughout the org.

- If the branch name contains hotfix / revert by default the BVT workflow check will pass.

Test Case Document URL
Please paste test case document link here....

Comment on lines +430 to +431
"java_enabled": false,
"javascript_enabled": false,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

False?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with True/False

| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `0` or `1`|
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `True` or `False`|
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible value is True or False.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for highlight, added True/False in ``

@@ -148,8 +148,8 @@ client.registration_link.create({
| subscription_registration | object | All keys listed [here](https://razorpay.com/docs/api/recurring-payments/emandate/auto-debit/#12-using-a-registration-link) are supported |
| receipt | string | Your system order reference id. |
| payment_capture* | boolean | Indicates whether payment status should be changed to `captured` automatically or not. Possible values: true - Payments are captured automatically. false - Payments are not captured automatically.|
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True
False

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

"remaining_count":5,
"start_at":1496000432,
"schedule_change_at":"now",
"customer_notify": true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated To True

documents/upi.md Outdated
| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `0` or `1`|x`
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `True` or `False`|x`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the extra x' should be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@vinitajag
Copy link
Copy Markdown

pls consider this also: https://github.com/razorpay/razorpay-python/blob/master/documents/paymentLink.md#customize-payment-methods. Here UPI, Netbanking are all boolean values.

@vinitajag
Copy link
Copy Markdown

vinitajag commented Jun 27, 2025

here as well, recurring parameter here is boolean:

## Create a recurring payment

need to make the same changes across payment methods: upi, emandate...

@vinitajag
Copy link
Copy Markdown

### Create registration link
- "sms_notify" and "email_notify" are boolean

@vinitajag
Copy link
Copy Markdown

@vinitajag
Copy link
Copy Markdown

- here save is a boolean value

@vinitajag
Copy link
Copy Markdown

| active | boolean | Possible values is `0` or `1` |
- here active is a boolean value.

@vinitajag
Copy link
Copy Markdown

| cancel_at_cycle_end | boolean | Possible values:<br>0 (default): Cancel the subscription immediately. <br> 1: Cancel the subscription at the end of the current billing cycle. |
- cancel_at_cycle_end is a boolean value. need to replace 1/0 with True/False in the description table

@vinitajag
Copy link
Copy Markdown

"customer_notify": 1,
- customer_notify is a boolean value.

@vinitajag
Copy link
Copy Markdown

| tokenised | string | Determines if the card is saved as a token. Possible value is `true` or `false` |
- tokenised is a boolean param. need to change data type in description table

@ankitdas13
Copy link
Copy Markdown
Contributor Author

| active | boolean | Possible values is `0` or `1` |

  • here active is a boolean value.

item only support 1/0 (tested)

Copy link
Copy Markdown

@vinitajag vinitajag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@ankitdas13 ankitdas13 added the TestingNotRequired TestingNotRequired label for BVT label Jul 7, 2025
@ankitdas13 ankitdas13 merged commit ed87afb into master Jul 7, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TestingNotRequired TestingNotRequired label for BVT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants