{"id":22645403,"url":"https://github.com/droiddevgeeks/sampleionicangularcapacitor","last_synced_at":"2025-03-29T06:14:38.954Z","repository":{"id":266070353,"uuid":"897287452","full_name":"droiddevgeeks/SampleIonicAngularCapacitor","owner":"droiddevgeeks","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-20T09:51:56.000Z","size":514,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T18:15:12.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droiddevgeeks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T11:20:08.000Z","updated_at":"2024-12-20T09:52:00.000Z","dependencies_parsed_at":"2024-12-02T12:40:22.877Z","dependency_job_id":null,"html_url":"https://github.com/droiddevgeeks/SampleIonicAngularCapacitor","commit_stats":null,"previous_names":["droiddevgeeks/sampleionicangularcapacitor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droiddevgeeks%2FSampleIonicAngularCapacitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droiddevgeeks%2FSampleIonicAngularCapacitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droiddevgeeks%2FSampleIonicAngularCapacitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droiddevgeeks%2FSampleIonicAngularCapacitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droiddevgeeks","download_url":"https://codeload.github.com/droiddevgeeks/SampleIonicAngularCapacitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145087,"owners_count":20730495,"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":[],"created_at":"2024-12-09T06:05:26.393Z","updated_at":"2025-03-29T06:14:38.932Z","avatar_url":"https://github.com/droiddevgeeks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CashFree Capacitor SDK Sample with Ionic \u0026 Angular\n\n\n## **Description**\n\nSample integration project for CashFree Payment Gateway's in Ionic Angular Capacitor platform.\n\n\n## Installation:\nInstall the plugin\n\n```bash\n\nnpm i @awesome-cordova-plugins/cashfree-pg\nnpm i @awesome-cordova-plugins/core\nnpm i cordova-plugin-cashfree-pg\n\nnpx cap sync \nnpx cap sync android\nnpx cap run android\n\n```\n\nSample Integration code\n\n```\nconst callbacks = {\n        onVerify: function (result:any) {\n            console.log(\"This is in the SDK Verify: \" + JSON.stringify(result));\n        },\n        onError: function (error: any) {\n            console.log(\"This is in the SDK Error: \" + JSON.stringify(error));\n        }\n    };\n\n//Set Callback (Mandatory)\nCFPaymentGateway.setCallback(callbacks) \n\n//Call Webcheckout pamyent\nCFPaymentGateway.doWebCheckoutPayment(\n        new CFWebCheckoutPayment(\n            new CFSession(\"session_Z7Sj6ZyrTNiU1PWxrgPoQ3zNkbQpPrSAhiilBn6mZnOq5PvIT7NqVnw9vm-6Wb5cT3HBTqufejP-UlK6OEiI88fYXvEYIadw6vEp_TLbGgXc\",\n                \"order_101024392penKNwgrYS4EcTwEWHIFlCdApr\",\n                CFEnvironment.SANDBOX\n            ),\n            null)\n)\n```\n\n\n### Sample Test UPI App\nDoc : https://docs.cashfree.com/docs/cashfree-upi-intent-simulator-apk\n\nAPK : https://github.com/cashfree/nextgen-android/blob/master/assets/SampleTestUPISimulator.apk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroiddevgeeks%2Fsampleionicangularcapacitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroiddevgeeks%2Fsampleionicangularcapacitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroiddevgeeks%2Fsampleionicangularcapacitor/lists"}