diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..1881bb57 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,34 @@ +--- +name: Bug report +about: Report something that is broken or behaves incorrectly +title: "[Bug]: " +labels: ["bug", "triage"] +--- + +## Summary + + + +## Steps to reproduce + +1. +2. +3. + +## Expected behavior + + + +## Actual behavior + + + +## Environment + +- OS: +- SDK / plugin / engine version: +- Project version / commit: + +## Additional context + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..2e8cabf3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Xsolla Developer Portal + url: https://developers.xsolla.com + about: Integration guides, API reference, and account-specific help. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..ab82751d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,14 @@ +--- +name: Feature request +about: Suggest an improvement or new capability +title: "[Feature]: " +labels: ["enhancement", "triage"] +--- + +## Problem + +## Proposed solution + +## Alternatives considered + +## Additional context diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000..5f7a48ff --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,14 @@ +--- +name: Question +about: Ask a question about using this project +title: "[Question]: " +labels: ["question", "triage"] +--- + +> **Before opening a question**, check the [README](../../README.md) and the +> [Xsolla developer portal](https://developers.xsolla.com). For account- or +> integration-specific help, the developer portal is usually the fastest route. + +## Question + +## Context diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..73b3b4ad --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +## Summary + + + +## Changes + + + +- + +## Testing + + + +## Checklist + +- [ ] Self-review completed +- [ ] Tests added or updated (if applicable) +- [ ] Documentation updated (if applicable) +- [ ] No unrelated changes included diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..b2d2a3d6 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,19 @@ +# Contributing to Xsolla Pay Station SDK + +Thanks for your interest in contributing to this project. + +## Code of Conduct + +This project adheres to the [Xsolla Code of Conduct](https://github.com/xsolla/.github/blob/main/CODE_OF_CONDUCT.md). By participating, you agree to uphold it. + +## Submitting a pull request + +1. Fork the repository and create a branch from the default branch. +2. Make your changes with appropriate tests. +3. Open a pull request. The PR template will guide you through the description. +4. A maintainer will review your change. + +## Questions + +For questions, open a [GitHub Issue](https://github.com/xsolla/pay-station-sdk/issues). +For Xsolla product and integration questions, see the [Xsolla developer portal](https://developers.xsolla.com). diff --git a/README.md b/README.md index f77c28ff..8a57a186 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Xsolla Pay Station SDK +![License](https://img.shields.io/github/license/xsolla/pay-station-sdk) +![Latest release](https://img.shields.io/github/v/release/xsolla/pay-station-sdk) + - [What is Pay Station SDK?](#what-is-pay-station-sdk) - [Installing with npm-package](#installing-with-npm-package) - [General integration scheme](#general-integration-scheme) @@ -1466,3 +1469,12 @@ You can get the list of locales by using the `headlessCheckout.getAvailableLangu When attempting to make a payment with a selected country that is not supported in the Pay Station SDK, the payment API will return an error message. You can find an example [here](./examples/unsupported-country). + +## Support + +- **GitHub Issues:** [github.com/xsolla/pay-station-sdk/issues](https://github.com/xsolla/pay-station-sdk/issues) +- **Developer portal:** [developers.xsolla.com](https://developers.xsolla.com) + +## License + +Apache 2.0 License. See [LICENSE](./LICENSE).