{"id":20436539,"url":"https://github.com/codeeshop-oc/cordova-codeeshop-cespay","last_synced_at":"2026-04-30T11:36:09.624Z","repository":{"id":42625507,"uuid":"475864325","full_name":"codeeshop-oc/cordova-codeeshop-cespay","owner":"codeeshop-oc","description":"Cordova Custom Payment Gateway Integration with In-App Browser","archived":false,"fork":false,"pushed_at":"2025-07-24T11:25:13.000Z","size":502,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T13:48:15.597Z","etag":null,"topics":["cordova","cordova-android","cordova-payment","cordova-payment-package","cordova-plugin","npm","npm-package"],"latest_commit_sha":null,"homepage":"https://codeeshop-oc.github.io/cordova-codeeshop-cespay","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeeshop-oc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-30T12:16:41.000Z","updated_at":"2025-07-24T11:25:17.000Z","dependencies_parsed_at":"2023-02-15T07:46:16.067Z","dependency_job_id":"f6c4d8c7-9771-4421-9e8d-e717b691aea0","html_url":"https://github.com/codeeshop-oc/cordova-codeeshop-cespay","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.34615384615384615","last_synced_commit":"c0e2887ed4454ec2f94275c9cbf524da7664b0e4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/codeeshop-oc/cordova-codeeshop-cespay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fcordova-codeeshop-cespay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fcordova-codeeshop-cespay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fcordova-codeeshop-cespay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fcordova-codeeshop-cespay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeeshop-oc","download_url":"https://codeload.github.com/codeeshop-oc/cordova-codeeshop-cespay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeeshop-oc%2Fcordova-codeeshop-cespay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32463892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cordova","cordova-android","cordova-payment","cordova-payment-package","cordova-plugin","npm","npm-package"],"created_at":"2024-11-15T08:44:28.343Z","updated_at":"2026-04-30T11:36:09.588Z","avatar_url":"https://github.com/codeeshop-oc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CesPay - Cordova Plugin\n\n[![Latest Stable Version](https://img.shields.io/npm/v/cordova-codeeshop-cespay.svg)](https://www.npmjs.com/package/cordova-codeeshop-cespay) [![Total Downloads](https://img.shields.io/npm/dt/cordova-codeeshop-cespay.svg)](https://npm-stat.com/charts.html?package=cordova-codeeshop-cespay)\n[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/codeeshop-oc/cordova-codeeshop-cespay/blob/main/LICENSE)\n[![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg)](https://github.com/codeeshop-oc/cordova-codeeshop-cespay/issues?\u0026q=is%3Aissue+is%3Aopen)\n![Downloads Monthly](https://img.shields.io/npm/dm/cordova-codeeshop-cespay.svg)\n\nCordova Custom Payment Gateway Integration with In-App Browser\n\nThis Cordova plugin helps you to be able to use any Payment Gateway haveing Success and Failed Callback URL to return response with your Cordova hybrid application. This plugin supports Android.\n\n## Installation:\n\nAdd another dependent cordova plugin \n[cordova-plugin-inappbrowser](https://www.npmjs.com/package/cordova-plugin-inappbrowser)\n`cordova plugin add cordova-plugin-inappbrowser`\n\nAdd this plugin in your cordova application with the following command.\n\n`cordova plugin add cordova-codeeshop-cespay`\n\nIt is also possible to install the plugin via repo url directly\n\n`cordova plugin add https://github.com/codeeshop-oc/cordova-codeeshop-cespay.git`\n\n## Usage:\n\n```\n// Init Payment\nCustomPayment.startPayment({\n  url: 'YOUR_PAYMENT_REDIRECT_URL', \n  callbackErrorURL: 'YOUR_PAYMENT_FAILURE_URL', \n  callbackSuccessURL: 'YOUR_PAYMENT_SUCCESS_URL'\n})\n\n// Return Payment Response Event\nwindow.addEventListener('paymentmessage', this.paymentCallBack)\n\nfunction paymentCallBack(e) {\n  if(typeof e.detail != 'undefined') {\n    console.debug(e.detail.data, 'paramsparams1')\n  } else {\n    console.debug(e, 'other paramsparamsparams')\n  }\n}\n```\n## Live Demo\n\n[![Youtube Link](https://img.youtube.com/vi/AoRvwAklZaQ/0.jpg)](http://www.youtube.com/watch?v=AoRvwAklZaQ)\n\n### All Params\n\nMethod: startPayment\n\n| Prop name          | Description                                      | Type    | Values                   | Default      |\n| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | --------------------- | ------------ |\n| url                | YOUR_PAYMENT_REDIRECT_URL                        | String  | -                        |     |\n| target             | key to be used to show listing data ( just one ) | String  | -                        | _blank |\n| options            | Cordova Plugin Options ( cordova-plugin-inappbrowser ) | String  | [Options](https://github.com/apache/cordova-plugin-inappbrowser#example-1)       | location=no,hidenavigationbuttons=yes,hideurlbar=yes,hardwareback=no,fullscreen=yes        |\n| callbackSuccessURL | YOUR_PAYMENT_FAILURE_URL                        | String  | -                | success      |\n| callbackErrorURL   | YOUR_PAYMENT_SUCCESS_URL                      | String  | - | failed       |\n\n## 🔖 License\n\nThis software is licensed under the [MIT](../main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeshop-oc%2Fcordova-codeeshop-cespay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeeshop-oc%2Fcordova-codeeshop-cespay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeeshop-oc%2Fcordova-codeeshop-cespay/lists"}