This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b22c6f3
commit 403e7cb
Showing
9 changed files
with
379 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,7 +146,6 @@ def clear_tables(self): | |
def make_payment_for_open_source(self, **info): | ||
defaults = dict( amount='1000' | ||
, name='Alice Liddell' | ||
, transaction_id='deadbeef' | ||
, email_address='[email protected]' | ||
, follow_up='monthly' | ||
, promotion_name='Wonderland' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
interactions: | ||
- request: | ||
body: !!python/unicode <transaction><amount>10</amount><type>sale</type><options><submit_for_settlement | ||
type="boolean">true</submit_for_settlement></options><payment_method_nonce>fake-valid-nonce</payment_method_nonce></transaction> | ||
headers: {} | ||
method: POST | ||
uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAP0Ls1kAA+RYS2/jNhC+51cYvjOSnWzjBIqCoosteuheNtnDXgJKHFuMKVLlw7Hz6z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mYq+xRqI2Kduj/eSU3dyB3XCvpAbeGSpapPdLezn7b6zRU | ||
FHnkV+XTr/ndaAqgwhZ4YqS0civVs0yinqwBMci4Pembz1blNF4c5uDGCc/geqjXmm4QeGqKs+4E | ||
7cna89KDVqKHOAra8BnjsBXiKJPbE2YgHbZWtSZeS2UOqd9uLD3GSTGX15T7tPVJ1oCc5H85aOsI | ||
xRh5jp14VFK+QEGWihi2nSicTt8SxGHhtM8WUnDMM30YEIBueNYIQEPtjfhqQ6KNirL6IPnu8J2F | ||
9jl04hf9F1KNmHrkNBEySHK1KritqBNbrMFa0p2vx1WMwu4EKa04nmMsb7yMxm7+y55/5KX4E8Sh | ||
k7Qp0vR7QcMc0GUm17ya5Ig9fdefawJMKuQkihGkYcSHNNjJB0g8lrZBLB751T5+6BGcbwGCy7ip | ||
izWog8aKOjbpiV479UTD7jg+29Aokkf/xEe/Juq30zdzD9/bEsZW8c53flCvAaZGrN9WPZPmNkda | ||
DEPmtGn4OwOLr1Rz7L8DVfhueuQ/vP0QM/pX44Nw2PsA4NzR4WP4hxBmKlLWkEGX5wFujzcy4bv3 | ||
vHIW3noXNXOcsicc1H59CNsOV8Il0lXXPLw8oWh68aPvxUk0BRoSvl5Qhrywz/kmQe/bqlnie7Y6 | ||
KmkLpBEES9HnKODR12oY3UGjSc/+BgAA//8DAFQWy6JwEwAA | ||
headers: | ||
cache-control: ['max-age=0, private, must-revalidate'] | ||
content-encoding: [gzip] | ||
content-type: [application/xml; charset=utf-8] | ||
etag: [W/"48d3905da353929ec2b8cd3d54737edd"] | ||
strict-transport-security: [max-age=31536000; includeSubDomains] | ||
transfer-encoding: [chunked] | ||
vary: [Accept-Encoding] | ||
status: {code: 201, message: Created} | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
interactions: | ||
- request: | ||
body: !!python/unicode <transaction><amount>10</amount><type>sale</type><options><submit_for_settlement | ||
type="boolean">true</submit_for_settlement></options><payment_method_nonce>deadbeef</payment_method_nonce></transaction> | ||
headers: {} | ||
method: POST | ||
uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAP0Ls1kAA6RSu27DMAzc8xWCdkfJkKIFFGXLFzRzQMdMatR6gKLb+O8rP/OA26UbyaNOdyfp | ||
3dVW4gsplt5t5Xq5kgLdyRelu2zl4X2fvcqdWWgIZYZEnjLCGLyLaBZC6G4U23JqBDcBtxKIoJFq | ||
gJjARThxuqSfzK+P2Ije+jRJotC8rTcvG626+h4EZirzmnHgi43NfSVNgMai46NF/vDF0Xl3Qq2m | ||
7QcOizHCBc3BfTr/7YQngddQEhZijmap1XjiJls96B7aMSD1FMM9rAMQ2PhHXmB97disV0l/X45I | ||
a9lEqJKzrhznPrQE8U5erHNbcnZO7xiRucLWlWGq09F5bHLyRKaHSLI+kqyLxBQIRY541moW/i2G | ||
m/f/PELKZeaX/gAAAP//AwB33+lL4gIAAA== | ||
headers: | ||
cache-control: [no-cache] | ||
content-encoding: [gzip] | ||
content-type: [application/xml; charset=utf-8] | ||
strict-transport-security: [max-age=31536000; includeSubDomains] | ||
transfer-encoding: [chunked] | ||
vary: [Accept-Encoding] | ||
status: {code: 422, message: Unprocessable Entity} | ||
version: 1 |
Oops, something went wrong.