Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tara360 Payment Driver #306

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

hadikhanian
Copy link
Contributor

Adding Tara360 Payment Driver

Description

This pull request adds a new payment driver for Tara360 payment gateway (https://tara360.ir/) to the Shetabit Multipay package. The driver implements all necessary functionality to work with Tara360 API including authentication, purchase initiation, payment processing, and transaction verification.

Motivation and context

Many Iranian businesses use Tara360 as their payment gateway and this driver provides seamless integration with the Shetabit Multipay package, allowing developers to implement Tara360 payments with minimal effort. This adds to the variety of payment gateways supported by the package, giving users more options for their payment processing needs.

How has this been tested?

The driver has been tested in both development and production environments with real transactions. Testing included:

  1. Authentication with the Tara360 API
  2. Creating purchase tokens
  3. Redirecting users to the payment gateway
  4. Processing successful payments
  5. Handling payment verification
  6. Handling payment inquiry for transactions with timeout issues
  7. Error handling for failed transactions

All tests were successful and the driver works as expected according to the Tara360 API documentation.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

Go over all the following points, and put an x in all the boxes that apply.

Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests and code style pass.

  • I have read the CONTRIBUTING document.
  • My pull request addresses exactly one patch/feature.
  • I have created a branch for this patch/feature.
  • Each individual commit in the pull request is meaningful.
  • I have added tests to cover my changes.
  • If my change requires a change to the documentation, I have updated it accordingly.

@hadikhanian
Copy link
Contributor Author

hadikhanian commented Mar 16, 2025

@khanzadimahdi سلام
بررسی میکنی چرا این تست scrutinizer همش توی مرحله Dependencies خطا میده؟ چون ایراد از تغییرات من نیست موقع نصب پکیج ها با composer خطا میخوره.
اگر هم تغییرات من مورد تایید است بی زحمت مرج کن.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant