{"id":29931534,"url":"https://github.com/manojbhadane/paymentcardview","last_synced_at":"2025-08-02T17:12:36.840Z","repository":{"id":33954586,"uuid":"163719712","full_name":"manojbhadane/PaymentCardView","owner":"manojbhadane","description":"Custom Credit/Debit card view ","archived":false,"fork":false,"pushed_at":"2022-06-02T11:32:09.000Z","size":1659,"stargazers_count":72,"open_issues_count":4,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-01T04:41:50.277Z","etag":null,"topics":["android","android-app","android-development","android-library","android-ui","cardview","credit-card","customview","debit-card","jitpack","mastercard","payment","payment-gateway","visa"],"latest_commit_sha":null,"homepage":"","language":"Java","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/manojbhadane.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":"2019-01-01T07:12:07.000Z","updated_at":"2025-06-03T09:26:48.000Z","dependencies_parsed_at":"2022-08-26T20:02:35.028Z","dependency_job_id":null,"html_url":"https://github.com/manojbhadane/PaymentCardView","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/manojbhadane/PaymentCardView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojbhadane%2FPaymentCardView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojbhadane%2FPaymentCardView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojbhadane%2FPaymentCardView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojbhadane%2FPaymentCardView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manojbhadane","download_url":"https://codeload.github.com/manojbhadane/PaymentCardView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojbhadane%2FPaymentCardView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268424029,"owners_count":24248119,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":["android","android-app","android-development","android-library","android-ui","cardview","credit-card","customview","debit-card","jitpack","mastercard","payment","payment-gateway","visa"],"created_at":"2025-08-02T17:12:36.087Z","updated_at":"2025-08-02T17:12:36.824Z","avatar_url":"https://github.com/manojbhadane.png","language":"Java","funding_links":["https://paypal.me/manojbhadane"],"categories":[],"sub_categories":[],"readme":"\n![enter image description here](https://raw.githubusercontent.com/manojbhadane/PaymentCardView/master/PaymentCardView.png)\n# Payment Card View [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=An%20easy%20to%20use,customizable,Payment%20card%20view%20for%20Android%20\u0026url=https://github.com/manojbhadane/PaymentCardView)\n\nAn easy-to-use, customizable, Payment card view for Android.\n\n### Specs\n[![API](https://img.shields.io/badge/API-15%2B-orange.svg?style=flat)](https://android-arsenal.com/api?level=15) \n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Payment%20Card%20View-brightgreen.svg?style=plastic)](https://android-arsenal.com/details/1/7417)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/manojbhadane)\n\u003c!---[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) --\u003e\n\n# Download\n\nThis library is available in **jCenter** which is the default Maven repository used in Android Studio.\n\n## Gradle \n**Step 1.** Add it in your root build.gradle at the end of repositories\n```Gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n\n**Step 2.** Add the dependency in your apps module build.gradle\n```Gradle\ndependencies {\n\t implementation 'com.github.manojbhadane:PaymentCardView:v1.3'\n}\n```\n\n### Spread Some :heart:\n[![GitHub followers](https://img.shields.io/github/followers/manojbhadane.svg?style=social\u0026label=Follow)](https://github.com/manojbhadane)  [![Twitter Follow](https://img.shields.io/twitter/follow/manojbhadane.svg?style=social)](https://twitter.com/manojbhadane_in) \n\n# Usage\n**XML**\n```xml\n\u003ccom.manojbhadane.PaymentCardView\n            android:id=\"@+id/creditCard\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            app:cv_submitBtnText=\"Done\"\n            app:cv_cardTitle=\"Pay Now\"/\u003e\n``` \n\n**Java**\n```java\n        //Init        \n        PaymentCardView paymentCard = (PaymentCardView) findViewById(R.id.creditCard);\n\n        //Callbacks\n        paymentCard.setOnPaymentCardEventListener(new PaymentCardView.OnPaymentCardEventListener() {\n            @Override\n            public void onCardDetailsSubmit(String month, String year, String cardNumber, String cvv) {\n\n            }\n\n            @Override\n            public void onError(String error) {\n                Toast.makeText(SampleActivity.this, error, Toast.LENGTH_SHORT).show();\n            }\n\n            @Override\n            public void onCancelClick() {\n\n            }\n        });\n```\n\n# Customization\n\nThere are several customization options available which you can use to completely change the look-and-feel and functionality of this view to match your needs.\n\n### XML (Quick and Easy)\n\nYou can add some attributes to the PaymentCardView from your XML layout.\n\n```xml\n  app:cv_submitBtnText=\"Done\"                               // Change the submit button text\n  app:cv_cardTitle=\"Pay Now\"                                // Change the card title text\n```\n\n### JAVA (Programatically)\n\nYou can also programatically change the properties of the view, thereby having more control over it.\n\n```java\npaymentCard.setCardTitle(\"Pay Now\"); \t\t    // Change the submit button text\npaymentCard.setSubmitButtonText(\"Done\"); \t    // Change the card title text\n```\n\n# Bugs or Requests\n\nIf you encounter any problems feel free to open an [issue](https://github.com/manojbhadane/PaymentCardView/issues/new?assignees=\u0026labels=\u0026template=bug_report.md). If you feel the library is missing a feature, please raise a [ticket](https://github.com/manojbhadane/PaymentCardView/issues/new?assignees=\u0026labels=\u0026template=feature_request.md) on GitHub and I'll look into it. Pull request are also welcome. \n\n\n# About The Author\n\n### Manoj Bhadane\n\nAndroid \u0026 Backend Developer.\n\n\n\u003ca href=\"https://medium.com/@manojbhadane\"\u003e\u003cimg src=\"https://github.com/manojbhadane/Social-Icons/blob/master/medium-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://stackoverflow.com/users/4034678/manoj-bhadane\"\u003e\u003cimg src=\"https://github.com/manojbhadane/Social-Icons/blob/master/stackoverflow-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/manojbhadane\"\u003e\u003cimg src=\"https://github.com/manojbhadane/Social-Icons/blob/master/twitter-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://in.linkedin.com/in/manojbhadane\"\u003e\u003cimg src=\"https://github.com/manojbhadane/Social-Icons/blob/master/linkedin-icon.png?raw=true\" width=\"60\"\u003e\u003c/a\u003e\n\n# License\n\n```\nMIT License\n\nCopyright (c) 2019 Manoj Bhadane\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanojbhadane%2Fpaymentcardview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanojbhadane%2Fpaymentcardview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanojbhadane%2Fpaymentcardview/lists"}