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

Update endpoints to support api.na.bambora.com platform #20

Conversation

k-nights
Copy link

Updated src/Beanstream/communications/Endpoints.php:

  • Included support for na.bambora.com endpoints when $platform = 'api' (new default).
  • Preserved backwards-compatibility with beanstream.com endpoints when $platform = 'www' (old default).

Updated src/Beanstream/Configuration.php:

  • Changed default $_platform value to 'api' from 'www' for when the Gateway object is created without a $platform value.

Updated src/Beanstream/examples.php:

  • Changed default $platform value to 'api' from 'www' which will send example requests to the api.na.bambora.com endpoints. Also added a comment to assist with TLS 1.2-Only testing.

Updated README.md:

  • Added information related to backwards-compatibility with the beanstream.com endpoints.
  • Added information related to TLS 1.2-Only integration tests.
  • Added HTML formatting by wrapping result in <pre></pre>

@draganblagojevic draganblagojevic merged commit e098f9a into bambora-na:master May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants