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

[Integration-tests] are missing for Trexle #105

Open
oyeb opened this issue Jan 25, 2018 · 3 comments
Open

[Integration-tests] are missing for Trexle #105

oyeb opened this issue Jan 25, 2018 · 3 comments

Comments

@oyeb
Copy link
Contributor

oyeb commented Jan 25, 2018

Integration tests must test each request's life; for example, there should be a test for these:

  • authorize -> capture -> refund
  • authorize -> void
@hossamhossny
Copy link

Do you guys have any account specific problems with your tests? @jyotigautam @oyeb

@jyotigautam
Copy link
Member

@hossamhossny Yes, that is an account specific problem since I am unable to get any response to write the tests.

@hossamhossny
Copy link

@jyotigautam You can just open a new account since it is free anyways! You need to add Trexle API keys as the username and password when adding "Trexle sandbox" payment gateway in Trexle dashboard.

Technically it is the only payment gateway available to you in the dashboard since it is a free account and I can't see any troubles doing this. Any commercial Trexle account will enable +150 supported payment gateways to add their API keys, but again in a free environment you can only work with "Trexle sandbox" and your issued Trexle APIs.

Also using this secret sandbox test key is possible,,
https://github.com/activemerchant/active_merchant/blob/master/test/fixtures.yml#L1178-L1179

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

No branches or pull requests

3 participants