{"id":19718929,"url":"https://github.com/rajivnarayana/nativescript-razorpay","last_synced_at":"2025-04-29T20:31:06.563Z","repository":{"id":57308732,"uuid":"131312102","full_name":"rajivnarayana/nativescript-razorpay","owner":"rajivnarayana","description":"Unofficial razorpay plugin for nativescript","archived":false,"fork":false,"pushed_at":"2019-01-23T18:20:20.000Z","size":3015,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T23:55:01.039Z","etag":null,"topics":["nativescript","nativescript-plugin","payment","razorpay","unofficial"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajivnarayana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-27T15:10:28.000Z","updated_at":"2024-05-30T16:40:50.000Z","dependencies_parsed_at":"2022-08-29T05:00:26.676Z","dependency_job_id":null,"html_url":"https://github.com/rajivnarayana/nativescript-razorpay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajivnarayana%2Fnativescript-razorpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajivnarayana%2Fnativescript-razorpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajivnarayana%2Fnativescript-razorpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajivnarayana%2Fnativescript-razorpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajivnarayana","download_url":"https://codeload.github.com/rajivnarayana/nativescript-razorpay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251578385,"owners_count":21612028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nativescript","nativescript-plugin","payment","razorpay","unofficial"],"created_at":"2024-11-11T23:01:40.306Z","updated_at":"2025-04-29T20:31:05.249Z","avatar_url":"https://github.com/rajivnarayana.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Razorpay (Unofficial)\n\nA nativescript wrapper around iOS and Android Razorpay plugins. Razorpay is a payment gateway for some of the payments around Indian payments ecosystem. This does not provide any UI components. Will only provide functions to open native payment flows and receive callbacks. Hence, cannot be used declaratively.\n\n## Installation\n\nOpen terminal and type the following command at the root of your project folder.\n\n```shell\ntns plugin add nativescript-razorpay\n```\n\n## Usage \n\n```javascript\nexport function onCheckoutButtonTapped(args : any) {\n    new RazorpayCheckout(\"rzp_test_some_id\").open({\n        \"amount\" : \"1000\", //In paise \n        \"description\" : \"Some Items from Swiggy\",\n        \"image\" : \"https://placem.at/things?h=200\",\n        \"name\" : \"My Business Checkout\",\n        \"prefill\": {\n            \"contact\": \"Valid phone number\",\n            \"email\": \"foo@bar.com\"\n        },\n    }).then(function(paymentId){\n        console.log(\"Payment Id \", paymentId);\n    }, function(error){\n        console.error(error);\n    })\n}\n```\n\n## API\n\n| Property | Default | Description |\n| --- | --- | --- |\n| open | none | Accepts options among others, should contain \"amount\" |\n    \n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajivnarayana%2Fnativescript-razorpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajivnarayana%2Fnativescript-razorpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajivnarayana%2Fnativescript-razorpay/lists"}