Sandbox: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:
*The two systems are completely separated, so the same e-mail address can be used in both systems (warning: easy to mix them up!)
*The two systems are completely separated, so the same e-mail address can be used in both systems (warning: easy to mix them up!)


=Limitations in functionality=
The sandbox server is a copy of the live Barion servers, with some minor differences:
The sandbox server is a copy of the live Barion servers, with some minor differences:


*From the developers perspective, the onyl difference is the URL
*From the developers perspective, the only difference is the URL
*No real money in the sandbox, all transactions are using "toy" money
*No real money in the sandbox, all transactions are using "toy" money
*Since the sandbox is not using real money, withdrawal to bank accounts is not possible  
*Since the sandbox is not using real money, withdrawal to bank accounts is not possible  
Line 28: Line 29:
[[file:live-sandbox.png|1000px]]
[[file:live-sandbox.png|1000px]]


=Limitations in functionality=
=Registering accounts=
=Registering accounts=
=Opening shop=
=Opening shop=
=API URL=
=API URL=
https://api.test.barion.com
=Certificates=
=Certificates=
=Test card=
=Test card=
[[file:Test-card.png]]
[[file:Test-card.png]]


=Using mobile app with Sandbox=
=Using mobile app with Sandbox=
=Limitations=
=Limitations=

Revision as of 00:15, 6 February 2017

Setting up the Sandbox environment and testing payments

Sandbox server

Although Barion payments are super easy to integrate, we strongly advise all developers to use the sandbox server for development and testing, before going live.

There are many advantages of using the sandbox server for testing:

  • Sandbox is available 7/24/365
  • Sandbox is totally self-service, no contract or NDA needed to use it
  • No approvals required
  • No transaction fees are spent during development and testing
  • The two systems are completely separated, so the same e-mail address can be used in both systems (warning: easy to mix them up!)

Limitations in functionality

The sandbox server is a copy of the live Barion servers, with some minor differences:

  • From the developers perspective, the only difference is the URL
  • No real money in the sandbox, all transactions are using "toy" money
  • Since the sandbox is not using real money, withdrawal to bank accounts is not possible
  • Real bank cards do not work, we provide a test card
  • Top-up is only possible with test card
  • Shops are automatically approved
  • Recurrence or token payment is automatically approved
  • The servers are of smaller capacity
  • Simple SSL certificates are used
  • Sandbox servers are updated regularly without notice

Registering accounts

Opening shop

API URL

https://api.test.barion.com

Certificates

Test card

File:Test-card.png

Using mobile app with Sandbox

Limitations