voronkovich / sberbank-acquiring-client

PHP client for Sberbank and Alphabank acquiring REST APIs
MIT License
190 stars 55 forks source link

Ability to configure endpoints prefixes. #13

Closed floor12 closed 5 years ago

floor12 commented 5 years ago

Now its possible to pass to Client class constructor prefixes for basic endpoints and also for apple/google/samsung endpoints too. All your tests are passed. Now this lib could be used to work with Alfa Bank rest api (probably with some other banks too).

floor12 commented 5 years ago

Hi! What about this pull request?

floor12 commented 5 years ago

4 tests were added. Code was formatted. .gitignore commit was reverted. What you say now? If you think its necessary, i can add tests with custom prefix for all endpoints, but i think 4 is enough.

voronkovich commented 5 years ago

@floor12, Thanks for the contribution!

floor12 commented 5 years ago

Thank you for your lib. It helps me twice. Im glad to make it more flexible. Good luck.