Skip to content

fschutt/braintree-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

braintree-rs

A Rust client library for Braintree

Running the Example

If you clone the repository somewhere, you'll find a program in examples/transaction that can be used to perform various operations on transactions. Example invocations are:

$ cargo run -- create <amount> # Create a transaction
$ cargo run -- find <transaction_id> # Find a transaction
$ cargo run -- void <transaction_id> # Void a transaction
$ cargo run -- settle <transaction_id> # Force a transaction into a settled state
$ cargo run -- refund <transaction_id> # Refund a settled transaction

TODO

  1. Replace the ToXml trait with a proper XML serializer. Serde currently does not support this, but once it does we should switch to using that.

About

A Rust client library for Braintree

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%