Braintree Wrapper is a app that processes payment transactions requested using another app.
Status: Prototype
To testing this app, please:
- Start WebShop
- Start Braintree Wrapper
- Set up your merchant account data (see below)
- Use test credit card data:
- Credit card number:
4111111111111111
- Expiry date:
02/2017
- Security number:
123
Please set yours merchant account data before start the app. Yours mechant account you find it in account setting.
Go to:
- https://sandbox.braintreegateway.com/login (when using the sandbox enviroment) or
- https://www.braintreegateway.com/login (when using the production enviroment)
Log in. Then go to Account
-> My user
-> on bottom of page you find View API Keys
button. Click there.
Next you see Api Keys
page with table. Click first of record, column namePublic Key
, next in Client Library Key
you can find your merchant account data. Please stay on this page.
Next go to destination where you download the project. In Config
folder, you can find the BrainTreeConfig.xml
file where you must past data:
<Enviroment>Put here from page Enviroment value</Enviroment>
<MerchantId>Put here from page Merchant ID value</MerchantId>
<PublicKey>Put here from page Public Key value</PublicKey>
<PrivateKey>Put here from page Private Key value</PrivateKey>
Ok, when you finished, save file, and start the app, or restart the app to change affected.