solidus_paypal_braintree 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +3 -0
  3. data/.github/stale.yml +1 -17
  4. data/.github_changelog_generator +2 -0
  5. data/.gitignore +4 -3
  6. data/.rubocop.yml +1 -2
  7. data/CHANGELOG.md +32 -0
  8. data/Gemfile +17 -13
  9. data/README.md +41 -17
  10. data/app/assets/stylesheets/spree/backend/solidus_paypal_braintree.css +4 -0
  11. data/app/models/solidus_paypal_braintree/configuration.rb +1 -3
  12. data/app/models/solidus_paypal_braintree/gateway.rb +4 -3
  13. data/app/models/solidus_paypal_braintree/source.rb +4 -2
  14. data/app/models/solidus_paypal_braintree/transaction_address.rb +1 -0
  15. data/bin/rails +4 -12
  16. data/bin/rails-engine +13 -0
  17. data/bin/rails-sandbox +16 -0
  18. data/bin/rake +7 -0
  19. data/bin/sandbox +103 -0
  20. data/bin/setup +1 -1
  21. data/lib/generators/solidus_paypal_braintree/install/install_generator.rb +9 -4
  22. data/lib/generators/solidus_paypal_braintree/install/templates/initializer.rb +6 -0
  23. data/lib/solidus_paypal_braintree/engine.rb +6 -5
  24. data/lib/solidus_paypal_braintree/extension_configuration.rb +23 -0
  25. data/lib/solidus_paypal_braintree/request_protection.rb +2 -2
  26. data/lib/solidus_paypal_braintree/{factories.rb → testing_support/factories.rb} +5 -5
  27. data/lib/solidus_paypal_braintree/version.rb +1 -1
  28. data/lib/solidus_paypal_braintree.rb +5 -3
  29. data/lib/views/frontend/solidus_paypal_braintree/payments/_payment.html.erb +3 -3
  30. data/solidus_paypal_braintree.gemspec +39 -39
  31. data/spec/controllers/solidus_paypal_braintree/checkouts_controller_spec.rb +99 -0
  32. data/spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb +55 -0
  33. data/spec/controllers/solidus_paypal_braintree/configurations_controller_spec.rb +73 -0
  34. data/spec/controllers/solidus_paypal_braintree/transactions_controller_spec.rb +183 -0
  35. data/spec/features/backend/configuration_spec.rb +23 -0
  36. data/spec/features/backend/new_payment_spec.rb +137 -0
  37. data/spec/features/frontend/braintree_credit_card_checkout_spec.rb +191 -0
  38. data/spec/features/frontend/paypal_checkout_spec.rb +166 -0
  39. data/spec/features/frontend/venmo_checkout_spec.rb +194 -0
  40. data/spec/fixtures/cassettes/admin/invalid_credit_card.yml +63 -0
  41. data/spec/fixtures/cassettes/admin/resubmit_credit_card.yml +352 -0
  42. data/spec/fixtures/cassettes/admin/valid_credit_card.yml +412 -0
  43. data/spec/fixtures/cassettes/braintree/create_profile.yml +71 -0
  44. data/spec/fixtures/cassettes/braintree/generate_token.yml +63 -0
  45. data/spec/fixtures/cassettes/braintree/token.yml +63 -0
  46. data/spec/fixtures/cassettes/checkout/invalid_credit_card.yml +63 -0
  47. data/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml +216 -0
  48. data/spec/fixtures/cassettes/checkout/update.yml +71 -0
  49. data/spec/fixtures/cassettes/checkout/valid_credit_card.yml +171 -0
  50. data/spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml +599 -0
  51. data/spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml +86 -0
  52. data/spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml +154 -0
  53. data/spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml +90 -0
  54. data/spec/fixtures/cassettes/gateway/authorize/paypal/address.yml +90 -0
  55. data/spec/fixtures/cassettes/gateway/authorize.yml +86 -0
  56. data/spec/fixtures/cassettes/gateway/authorized_transaction.yml +73 -0
  57. data/spec/fixtures/cassettes/gateway/cancel/missing.yml +63 -0
  58. data/spec/fixtures/cassettes/gateway/cancel/refunds.yml +272 -0
  59. data/spec/fixtures/cassettes/gateway/cancel/void.yml +201 -0
  60. data/spec/fixtures/cassettes/gateway/capture.yml +141 -0
  61. data/spec/fixtures/cassettes/gateway/complete.yml +157 -0
  62. data/spec/fixtures/cassettes/gateway/credit.yml +208 -0
  63. data/spec/fixtures/cassettes/gateway/customer.yml +79 -0
  64. data/spec/fixtures/cassettes/gateway/purchase.yml +87 -0
  65. data/spec/fixtures/cassettes/gateway/settled_transaction.yml +140 -0
  66. data/spec/fixtures/cassettes/gateway/void.yml +137 -0
  67. data/spec/fixtures/cassettes/source/bin.yml +295 -0
  68. data/spec/fixtures/cassettes/source/card_type.yml +267 -0
  69. data/spec/fixtures/cassettes/source/last4.yml +267 -0
  70. data/spec/fixtures/cassettes/transaction/import/valid/capture.yml +224 -0
  71. data/spec/fixtures/cassettes/transaction/import/valid.yml +71 -0
  72. data/spec/fixtures/views/spree/orders/edit.html.erb +50 -0
  73. data/spec/helpers/solidus_paypal_braintree/braintree_admin_helper_spec.rb +17 -0
  74. data/spec/helpers/solidus_paypal_braintree/braintree_checkout_helper_spec.rb +70 -0
  75. data/spec/models/solidus_paypal_braintree/address_spec.rb +71 -0
  76. data/spec/models/solidus_paypal_braintree/avs_result_spec.rb +317 -0
  77. data/spec/models/solidus_paypal_braintree/gateway_spec.rb +742 -0
  78. data/spec/models/solidus_paypal_braintree/response_spec.rb +280 -0
  79. data/spec/models/solidus_paypal_braintree/source_spec.rb +539 -0
  80. data/spec/models/solidus_paypal_braintree/transaction_address_spec.rb +235 -0
  81. data/spec/models/solidus_paypal_braintree/transaction_import_spec.rb +302 -0
  82. data/spec/models/solidus_paypal_braintree/transaction_spec.rb +86 -0
  83. data/spec/models/spree/store_spec.rb +14 -0
  84. data/spec/requests/spree/api/orders_controller_spec.rb +36 -0
  85. data/spec/spec_helper.rb +32 -0
  86. data/spec/support/capybara.rb +7 -0
  87. data/spec/support/gateway_helpers.rb +29 -0
  88. data/spec/support/order_ready_for_payment.rb +37 -0
  89. data/spec/support/vcr.rb +42 -0
  90. data/spec/support/views.rb +1 -0
  91. metadata +149 -18
@@ -0,0 +1,157 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <customer>
11
+ <payment-method-nonce>fake-valid-nonce</payment-method-nonce>
12
+ </customer>
13
+ headers:
14
+ Accept-Encoding:
15
+ - gzip
16
+ Accept:
17
+ - application/xml
18
+ User-Agent:
19
+ - Braintree Ruby Gem 2.98.0
20
+ X-Apiversion:
21
+ - '5'
22
+ Content-Type:
23
+ - application/xml
24
+ Authorization:
25
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
26
+ response:
27
+ status:
28
+ code: 201
29
+ message: Created
30
+ headers:
31
+ Date:
32
+ - Fri, 13 Sep 2019 14:27:54 GMT
33
+ Content-Type:
34
+ - application/xml; charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ X-Xss-Protection:
40
+ - 1; mode=block
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Authentication:
44
+ - basic_auth
45
+ X-User:
46
+ - 3v249hqtptsg744y
47
+ Vary:
48
+ - Accept-Encoding
49
+ Content-Encoding:
50
+ - gzip
51
+ Etag:
52
+ - W/"7cd94d9571863581960bf3200d7f3f29"
53
+ Cache-Control:
54
+ - max-age=0, private, must-revalidate
55
+ X-Runtime:
56
+ - '0.354179'
57
+ X-Request-Id:
58
+ - 01-1568384873.711-92.223.152.178-12972849
59
+ Content-Security-Policy:
60
+ - frame-ancestors 'self'
61
+ X-Broxyid:
62
+ - 01-1568384873.711-92.223.152.178-12972849
63
+ Strict-Transport-Security:
64
+ - max-age=31536000; includeSubDomains
65
+ body:
66
+ encoding: ASCII-8BIT
67
+ string: !binary |-
68
+ H4sIAGqne10AA6xWy3KjOhDd5ytc7AkG49ikMNlMJVVTNdncSe5NNlMCNUaxkBhJOHa+/kqYlx94nMrs3KdPS03rdLfDu01OR2sQknC2sNzrsTUClnBM2HJhPf28t+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Jlf+mqv3TRX7zm/7jk/8oG+nILhE5Pba0B2uzkFF39DwAA//8DABlnXNuxDAAA
69
+ http_version:
70
+ recorded_at: Fri, 13 Sep 2019 14:27:54 GMT
71
+ - request:
72
+ method: post
73
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
74
+ body:
75
+ encoding: UTF-8
76
+ string: |
77
+ <?xml version="1.0" encoding="UTF-8"?>
78
+ <transaction>
79
+ <amount>55.00</amount>
80
+ <order-id>ORDER0-PAYMENT0</order-id>
81
+ <channel>Solidus</channel>
82
+ <options>
83
+ <store-in-vault-on-success type="boolean">true</store-in-vault-on-success>
84
+ <submit-for-settlement type="boolean">true</submit-for-settlement>
85
+ </options>
86
+ <payment-method-token>ks926v</payment-method-token>
87
+ <shipping>
88
+ <first-name>John</first-name>
89
+ <last-name>Doe</last-name>
90
+ <street-address>10 Lovely Street Northwest</street-address>
91
+ <locality>Herndon</locality>
92
+ <postal-code>90210</postal-code>
93
+ <region>AL</region>
94
+ <country-code-alpha2>US</country-code-alpha2>
95
+ </shipping>
96
+ <customer-id>278369476</customer-id>
97
+ <type>sale</type>
98
+ </transaction>
99
+ headers:
100
+ Accept-Encoding:
101
+ - gzip
102
+ Accept:
103
+ - application/xml
104
+ User-Agent:
105
+ - Braintree Ruby Gem 2.98.0
106
+ X-Apiversion:
107
+ - '5'
108
+ Content-Type:
109
+ - application/xml
110
+ Authorization:
111
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
112
+ response:
113
+ status:
114
+ code: 201
115
+ message: Created
116
+ headers:
117
+ Date:
118
+ - Fri, 13 Sep 2019 14:27:55 GMT
119
+ Content-Type:
120
+ - application/xml; charset=utf-8
121
+ Transfer-Encoding:
122
+ - chunked
123
+ X-Frame-Options:
124
+ - SAMEORIGIN
125
+ X-Xss-Protection:
126
+ - 1; mode=block
127
+ X-Content-Type-Options:
128
+ - nosniff
129
+ X-Authentication:
130
+ - basic_auth
131
+ X-User:
132
+ - 3v249hqtptsg744y
133
+ Vary:
134
+ - Accept-Encoding
135
+ Content-Encoding:
136
+ - gzip
137
+ Etag:
138
+ - W/"d0ee0d4a2ad63634a4bb74a0bdfb8ee3"
139
+ Cache-Control:
140
+ - max-age=0, private, must-revalidate
141
+ X-Runtime:
142
+ - '0.437647'
143
+ X-Request-Id:
144
+ - 01-1568384875.006-92.223.152.178-12973110
145
+ Content-Security-Policy:
146
+ - frame-ancestors 'self'
147
+ X-Broxyid:
148
+ - 01-1568384875.006-92.223.152.178-12973110
149
+ Strict-Transport-Security:
150
+ - max-age=31536000; includeSubDomains
151
+ body:
152
+ encoding: ASCII-8BIT
153
+ string: !binary |-
154
+ H4sIAGune10AA8xYS3PbOAy+91d4fGck+ZHYHUfdzLZNt9Nkd5q0m/SSoUQqYiyRKkk5cX79gnpZsignPXRmbxLwEQJBAPyg1bunNBltqFRM8NOxd+SOR5SHgjB+fzr+dv0RLcbv/DcrLTFXONSA8t+MRitG/Gy93arpxl058GJkSmOdK1/lQcq0puQuEvJOUa0TmlKuV04FMFi9zaivcEJXTvFoZGEuJXx7i5gSCFyg/rer9yunLzZgnIqca38+P3LBg+rNKFIqwxhzjXAYGiEC75SmaSAScMGmLXzPA2TRjThLTsda5nTslNYx2JKvggpJAAn2//76/sNXF/1zdnvx4fIavG00xa4lxRAshPXIROJ0TOBVs5SO/YnrLZG7RN702pu9nZy8nc9/QDyaBcX6PCO/tn63oIq60gL2Y17Kg52cLKbHy9nJcX2yII6YVBpxnNL9fYIywcO6UKQZ5luLhqaYJRb5Iw0U0zZbWSy4TR7hJ4v0PhEBTkyYb6ffn8n5Uv+4+RxdPISzi+fb+eX7cLJydhgTCqcdi1XAkgSqYBeX9c/fGxClJaWQUoRIqpQtYk+acmKObhCSiBAnTNvMS3oP1WsLq4DCTMrSWs4892TltEW125Dmcju8q1JtViCcZDGevAo1fQnFczgPFvaqy2kdD2wtyjmxFWGjUV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xtsTcloHVSH2cMXOrLyw07/R3/5iC8ZuT+f4WkkVSJU95LCbYT5DxQoWTZIIFu6ZtbpJgOUAZ8SRAE5BOZ6Foqaw8JbkltxYLLe98xlzOCe9jC/glTRT1bdbS0IuoSHLgRhsZd6OF937pGgSyb3yawr4GqbvTl/RxjzmniX4mEkVxBlVeCcjyRG8MqIkqH+ID5tnhE5ZH2tBCLIJeqnHAI1TD213NBV2U/oNZ4ZP98F9P7XfRKOH0ym4YrUtrdMKMipCvwa5vBPAwtYw0cy8Dezc6z3Iwfw5NjSTkweQBOYdbbsBUPQIwDt87L0dRwn7JN35k2vXKGQF122gpKl8S2Ceog6GVbBaV9yVbDeznVj0Ku975yc7Ny7BrrmsKagoaZwImWylHDnY3SYq3xQMfQBRF0BFMqFIIXCetYrlAkYfRqTUiD0/tQ/dTdYkhfO9n9keC75ppwl97Um01O5vPdZvZwQ1OIyQF8cAqps6SbkgUhpurQL8eJ2764hpa3f9E0hMie5gf/wBxca/3L06zoj8P2/zbDC3ZMjnz6HAf8Mr6dfs2CyTwKz/Wc3lw8k4ezDuHrXJT+m/8AAAD//wMABxmYwYQXAAA=
155
+ http_version:
156
+ recorded_at: Fri, 13 Sep 2019 14:27:55 GMT
157
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,208 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <transaction>
11
+ <amount type="integer">40</amount>
12
+ <payment-method-nonce>fake-valid-nonce</payment-method-nonce>
13
+ <options>
14
+ <submit-for-settlement type="boolean">true</submit-for-settlement>
15
+ </options>
16
+ <type>sale</type>
17
+ </transaction>
18
+ headers:
19
+ Accept-Encoding:
20
+ - gzip
21
+ Accept:
22
+ - application/xml
23
+ User-Agent:
24
+ - Braintree Ruby Gem 2.98.0
25
+ X-Apiversion:
26
+ - '5'
27
+ Content-Type:
28
+ - application/xml
29
+ Authorization:
30
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
31
+ response:
32
+ status:
33
+ code: 201
34
+ message: Created
35
+ headers:
36
+ Date:
37
+ - Fri, 13 Sep 2019 14:27:25 GMT
38
+ Content-Type:
39
+ - application/xml; charset=utf-8
40
+ Transfer-Encoding:
41
+ - chunked
42
+ X-Frame-Options:
43
+ - SAMEORIGIN
44
+ X-Xss-Protection:
45
+ - 1; mode=block
46
+ X-Content-Type-Options:
47
+ - nosniff
48
+ X-Authentication:
49
+ - basic_auth
50
+ X-User:
51
+ - 3v249hqtptsg744y
52
+ Vary:
53
+ - Accept-Encoding
54
+ Content-Encoding:
55
+ - gzip
56
+ Etag:
57
+ - W/"b26a56ec4f2cf92cc1cbb9eab1b86d42"
58
+ Cache-Control:
59
+ - max-age=0, private, must-revalidate
60
+ X-Runtime:
61
+ - '0.406919'
62
+ X-Request-Id:
63
+ - 02-1568384845.030-92.223.152.178-13020506
64
+ Content-Security-Policy:
65
+ - frame-ancestors 'self'
66
+ X-Broxyid:
67
+ - 02-1568384845.030-92.223.152.178-13020506
68
+ Strict-Transport-Security:
69
+ - max-age=31536000; includeSubDomains
70
+ body:
71
+ encoding: ASCII-8BIT
72
+ string: !binary |-
73
+ H4sIAE2ne10AA+RYS2/jNhC+51cYvjOyHadxFoq2LYp2W6AB2n10t5eAksYWNxSpkpRj76/vUNTTopz00GKB3mzOx+FwOI9vFL4+5Hy2B6WZFHfz5eViPgORyJSJ3d38/bsfyWb+OroIjaJC08QgKrqYzUKWRlRsFOhvsjDAP3ZNG2pKHekyzpkxkD5spXrQYAyHHIQJgxpgseZYQKQphzCoftq1pFQKzz4SpiVBEyB6//aHMBgvWzDNZSlMtF5cLhZhUP+zghxUklFhCE0Su0jQOm0gjyVHE3zSyvYyJh7ZTDB+NzeqhHngtFPUp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t8nwbTMd2XTAYUE3k4E1tUd8tMRSBxEtGJo0XncXDsY3/ped8JJx8+tySbtSB47rI5z6uWUZ60SxYpJ79uRt3a+INSmQ68iUIL0j1rveDjFAolnKeLFo8sk5tpkS7Jse4pwyXSWoVwZOi2yK/0QNnxr9sOqObRsqRVJqPxngvSayupW7fopzvICxVnzzvSUAW4Cp1m2PlU/EveZIim6IS6XdXJCCwelXN3V9IPK/TW+o8B8/xIy+krwQDgfrAOxnym+GHbAwUpEK+xSWSeKZGfBFJu5ub16UBs7NW44f0PQzEgC734etmzZhAmlw6QY6S1RchX6wFToMpkBDItlzypBv9rnkJOh5XRX7fE5XS1EFmCepHk9O+fgxDPwS755Km8ZayfFFnXDW0lwr9GhrLTAZFkCCxcBmCaDzttI7zGqyVTglnRn02pl3Kn+aQjElb4wcjt/RwnaIxe3yarle3ayuu8uc4KYGBhsD9OzA0ETJMCQr9gr63He31aLfs6a29z9stETHH+Znv1uc3ev9NjJJq6a+dkxvaCVR+uaXLBb32aer34t4db399Md6neQfvtznuzDoYBeDHhld/A0AAP//AwBh2/FTexYAAA==
74
+ http_version:
75
+ recorded_at: Fri, 13 Sep 2019 14:27:25 GMT
76
+ - request:
77
+ method: put
78
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/an8res6h/settle
79
+ body:
80
+ encoding: UTF-8
81
+ string: ''
82
+ headers:
83
+ Accept-Encoding:
84
+ - gzip
85
+ Accept:
86
+ - application/xml
87
+ User-Agent:
88
+ - Braintree Ruby Gem 2.98.0
89
+ X-Apiversion:
90
+ - '5'
91
+ Content-Type:
92
+ - application/xml
93
+ Authorization:
94
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
95
+ response:
96
+ status:
97
+ code: 200
98
+ message: OK
99
+ headers:
100
+ Date:
101
+ - Fri, 13 Sep 2019 14:27:27 GMT
102
+ Content-Type:
103
+ - application/xml; charset=utf-8
104
+ Transfer-Encoding:
105
+ - chunked
106
+ X-Frame-Options:
107
+ - SAMEORIGIN
108
+ X-Xss-Protection:
109
+ - 1; mode=block
110
+ X-Content-Type-Options:
111
+ - nosniff
112
+ X-Authentication:
113
+ - basic_auth
114
+ X-User:
115
+ - 3v249hqtptsg744y
116
+ Vary:
117
+ - Accept-Encoding
118
+ Content-Encoding:
119
+ - gzip
120
+ Etag:
121
+ - W/"89e6f65c0e25e72e5dd533132532109e"
122
+ Cache-Control:
123
+ - max-age=0, private, must-revalidate
124
+ X-Runtime:
125
+ - '0.553441'
126
+ X-Request-Id:
127
+ - 02-1568384846.298-92.223.152.178-13020777
128
+ Content-Security-Policy:
129
+ - frame-ancestors 'self'
130
+ X-Broxyid:
131
+ - 02-1568384846.298-92.223.152.178-13020777
132
+ Strict-Transport-Security:
133
+ - max-age=31536000; includeSubDomains
134
+ body:
135
+ encoding: ASCII-8BIT
136
+ string: !binary |-
137
+ H4sIAE+ne10AA+RYS2/jNhC+51cYvjOSHWc3WSjatij6ArpAu4/u9mJQ4tjiRiJVknLs/fUdinpGlJMeWhTtzeZ8HA6H8/hG0etjkS8OoDSX4m65ugyXCxCpZFzs75bv331Hbpav44vIKCo0TQ2i4ovFIuIspuJGgX6RRQH+sWvaUFPpWIMxObAoaP5bkTmVEGuaQxTUP+1aWimFR50I15LgiRC/f/ttFEyXLZgWshIm3oSXYRgFzT8rKEClGRWG0DS1iwSN0QaKROYmCnzS2tQqIR7ZQvD8bmlUBcvAaaeoSz0LKhVDpEeQKqAGGKFmYe9+t2T41/AClvE6XN2S8Jasrt6tNq/WL1+tr39HD3Qb6v1VyZ6//wXu7zc0ftZG4g3sn/rlHluIizuutCGCFuAR5nRelsqipOLkkUBBee5Zf4BEc+PTVWZS+NZ39DhxajC8VZTwPMeA/YdvqI0CwJhgDPNA+1xwNCCYfYlZSC5TmnPjU69gj9nm85PEzMpdbtxuVuHLKBgutWZjnKrT/K2c2O4gNC8zun4W6uoplKjwUXg6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SMioETLViIB8sq9kBzPERe6x8IO41J1J0Q1Ip7QYcBgYHf902q5HI/zaD6ch//Bgz+UD0TDgcrQOwSSu/GXa2xEhFfu9TWKWpZxDCF5m5u715WRk4N2o60kPZZ2Q1dr8P2zARwgVy+8rNspZ9ubaztW0nCuZAY3Y8cMqYRA8J8izoaV01pX5KV8e7BZgHqe4fnfLxYxT4Jd49tTaN1S7HF3XCRcfdrdCjrbPAZFjVCRYDmyWAztvJaW7gDKjJTuHod2Z67Qb5ufxpC8WcvDVy/OUhDm2ND29XV6vN+uX6ur/MI9zcFGRjgJ6dgtooGYdkTclBn/vkuA6HjXhu+/CbTsfe/GF+9pPN2b3ez0KzXHHuQ8/8hk4Ssx9+yhLxJvt09WuZrK93n37bbNLiw5c3xT4KetjFqEfGF38CAAD//wMASjXPsWUXAAA=
138
+ http_version:
139
+ recorded_at: Fri, 13 Sep 2019 14:27:27 GMT
140
+ - request:
141
+ method: post
142
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/an8res6h/refund
143
+ body:
144
+ encoding: UTF-8
145
+ string: |
146
+ <?xml version="1.0" encoding="UTF-8"?>
147
+ <transaction>
148
+ <amount>20.00</amount>
149
+ </transaction>
150
+ headers:
151
+ Accept-Encoding:
152
+ - gzip
153
+ Accept:
154
+ - application/xml
155
+ User-Agent:
156
+ - Braintree Ruby Gem 2.98.0
157
+ X-Apiversion:
158
+ - '5'
159
+ Content-Type:
160
+ - application/xml
161
+ Authorization:
162
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
163
+ response:
164
+ status:
165
+ code: 201
166
+ message: Created
167
+ headers:
168
+ Date:
169
+ - Fri, 13 Sep 2019 14:27:28 GMT
170
+ Content-Type:
171
+ - application/xml; charset=utf-8
172
+ Transfer-Encoding:
173
+ - chunked
174
+ X-Frame-Options:
175
+ - SAMEORIGIN
176
+ X-Xss-Protection:
177
+ - 1; mode=block
178
+ X-Content-Type-Options:
179
+ - nosniff
180
+ X-Authentication:
181
+ - basic_auth
182
+ X-User:
183
+ - 3v249hqtptsg744y
184
+ Vary:
185
+ - Accept-Encoding
186
+ Content-Encoding:
187
+ - gzip
188
+ Etag:
189
+ - W/"068f4b326f929d71169f4ef9c3b9e5fb"
190
+ Cache-Control:
191
+ - max-age=0, private, must-revalidate
192
+ X-Runtime:
193
+ - '0.310492'
194
+ X-Request-Id:
195
+ - 02-1568384847.892-92.223.152.178-13021078
196
+ Content-Security-Policy:
197
+ - frame-ancestors 'self'
198
+ X-Broxyid:
199
+ - 02-1568384847.892-92.223.152.178-13021078
200
+ Strict-Transport-Security:
201
+ - max-age=31536000; includeSubDomains
202
+ body:
203
+ encoding: ASCII-8BIT
204
+ string: !binary |-
205
+ H4sIAFCne10AA+RYS2/jNhC+51cYvjOyHafrBIrSAoui6CEoupuk6SWgxJHFtUSqJOXY+fU71FsR5WQvRYHerJmPjxnO4xv7t4csne1BaS7FzXx5vpjPQESScbG9md9//ZVs5rfBmW8UFZpGBlHB2WzmcxZcLg+XRyqU7+GHlWlDTaEDXYQZNwbYcyzVswZjUshAGN+rARZrjjkEkQLGUV5+WGlUKIWnHwnXkuAlILj/8tn3xmILppkshAlWi/PFwvfqL6vIQEUJFYbQKLJCgvfTBrJQpniYS1vevgiJQzcTPL2ZG1XA3Kt2p7iX+hBUKoZIhwINp+ggQs3M2n4zZ/hpeAZzNGd5RRZXZHnxdbm+Xn26Xm3+Rg+0C8r1Rc5+bH23oPazNhItsB/lY769IQpjrrQhgmbgUKZ0WhfJLKfi6NBARnnqkL9AqLlx7ZUnUrjkMT2MnOr1rfJDnqYYw/+yhdooAIwJxhRo7XLBwYBg9iUmIamMaMqNa3sFW0xAl58k5lZa5cbVern45Ht9UXNtjFN1nLaqUtsVhKZ5QlcfQl28hxIFPgqPxg/WeyM0LS4EcyVLq9F1sFOl6HGgRH/2CpTNaCo26N6fEt+bQtjVOVWGo5O6IvUG5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biHxvCjQkTD2nDHlVnzJNgt7fqyRZ7+3VMjEB5kWq3TuseYSy68cEKsGyRTCFbewDuiGWzilLk1ghfT8xgbTD2FQmNOk9pW8u/M5c6OKo9sVojpr9FItt3nQYQCWlAm3/CpoYnNtW6o6wkxPwybXOybpdEbDffk9CcZc8XfyZh6vL+OlxvY6yh9e7bDsxlXdrT8zZk8yg4wwBHpOxx8vdX6/3B/j8cPn0eHn0vd72g54VnH0HAAD//wMA9chetQYVAAA=
206
+ http_version:
207
+ recorded_at: Fri, 13 Sep 2019 14:27:29 GMT
208
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,79 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.braintreegateway.com/merchants/vn32pmzn67tzbcd9/customers
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <customer>
11
+ <email>braintree@customers.com</email>
12
+ <payment-method-nonce>fake-valid-nonce</payment-method-nonce>
13
+ </customer>
14
+ headers:
15
+ Accept-Encoding:
16
+ - gzip
17
+ Accept:
18
+ - application/xml
19
+ User-Agent:
20
+ - Braintree Ruby Gem 3.4.0
21
+ X-Apiversion:
22
+ - '6'
23
+ Content-Type:
24
+ - application/xml
25
+ Authorization:
26
+ - Basic cTM3ZnF0eXc0cDJzN2Zidzo2M2RhYmNjOWFmMTcyNDhlZjQyMTdjZmRlYWEwM2UwMQ==
27
+ response:
28
+ status:
29
+ code: 201
30
+ message: ''
31
+ headers:
32
+ Date:
33
+ - Fri, 10 Dec 2021 10:53:18 GMT
34
+ Content-Type:
35
+ - application/xml; charset=utf-8
36
+ X-Frame-Options:
37
+ - SAMEORIGIN
38
+ X-Xss-Protection:
39
+ - 1; mode=block
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Download-Options:
43
+ - noopen
44
+ X-Permitted-Cross-Domain-Policies:
45
+ - none
46
+ Referrer-Policy:
47
+ - strict-origin-when-cross-origin
48
+ X-Authentication:
49
+ - basic_auth
50
+ X-User:
51
+ - mp9fm99xgbv5d7nc
52
+ Vary:
53
+ - Accept-Encoding, Origin
54
+ Content-Encoding:
55
+ - gzip
56
+ Etag:
57
+ - W/"435fd70a86beeb87bca285ff652a7010"
58
+ Cache-Control:
59
+ - max-age=0, private, must-revalidate
60
+ X-Runtime:
61
+ - '0.366158'
62
+ X-Request-Id:
63
+ - e7e1e4f3-b4cb-4f66-83d8-68956318e262
64
+ Content-Security-Policy:
65
+ - frame-ancestors 'self'
66
+ X-Broxyid:
67
+ - e7e1e4f3-b4cb-4f66-83d8-68956318e262
68
+ Strict-Transport-Security:
69
+ - max-age=31536000; includeSubDomains
70
+ Paypal-Debug-Id:
71
+ - ed5d938d152c4
72
+ Transfer-Encoding:
73
+ - chunked
74
+ body:
75
+ encoding: ASCII-8BIT
76
+ string: !binary |-
77
+ H4sIAJ4xs2EAA6xW23KjOBB9z1e4eCeAsR07hcnW1GxStVU7+7DjzE5epgRqG8VCIpLw7etXwtx8wXEq84ZOn241rdNSBw+blPZWICThbGp5t67VAxZzTNhias2+P9pj6yG8CeJcKp6CCG96vYDgcDwc+kN35LmBo1cG1MY4QUzZer1ifj9Ld2x0p3ZRjCeB07Ya9pwIqWyGUugxQqeWEjlYTmGiqMsS8zRDbHuCQ4oIDSOBCFMC4I8qWXmrPQJnbzbELOHsNOwcbU6wNUSSqDMpCEAKsI1UT20zmFpYLxVJwQr7bt+zvb7tud89937o33t3L4HTOBT+eYY/5t847Pcvfs2eE6BY7lNaUB4hagr703/e4aeJevnvr/k/X2fe37vZ+tvrn+vAaTjlT2Ci7BgJLMs0kBBoaxnroX2PaCwilGpN2AhjAVJWeKmGu0oGJVadgH0olTbckLu1UBI6FVHtdl4XpVUaTagq8Q4SbBQwbOp8kUZ5jChRXVsJWOg26jBmXCp9Brq3IJwMPFfXrA21fyfXOt4WsI1olqB+548fM/1rmCzXZ0Did6gXCl70kQkTgeiK8rlGKaN8sl2KGE6HdLWkWThwvf54bDisxo3ubbNd+Ewk0pnV6zYj4RRrJXdVyYjSXHoE0XDGloyvmY7UYA1tX20+t4mUOWIxtPmnxtrx8wX+QJs21GuumzPkkzimlZTulnD2b8uhRis+hoiopiL7ZWOco5xWBYg4p4CYFZqTMNTC2JBzoU/Z1j2aU1OIVtBjS+UCm4yIIh875UwlodfXz8kxeIa9BSTMMRzSC/SADfg49zmiEkqvViZNIeOnx2H04znHTx7FT8nq5XHy+tMbD7H/5S3+4W6PLvvCOwFEVaJV29JWC6toJEULsHNBw0SpTN47DpISlLytn9aFLs8abc276mRomwJTv1JQCce/KF9wZ6Ub5jZjiwdgKyI4M4SpRAxHfKOfiDp+vaNWtWnNCLFlk9oBWlGLR2AQeuOxFzjlorLpVASnrUargJogIEO6IN+4tpXfjY3jPC4mk8a/wSqazCMZC5KZkzx8NZueV3wJLJyss9e3VB/9flkZc0be8urW1JF1aYh+x4V+DEYe8gfjyO9P4iGejEcjNMSAwJ/7Aw3oW63LtY79G+7JFbCU2xIvOyRZ21seQqexb9iukhBpM1BrLpZ2UQ6y69T8OWo5kThHI8kBUNzoQXm7w9mJ5vjqP5lZPnIVXp5XLk8rl2aVKyaVq+aUi1PKhRnlygnl2vnk2unk6tnk3cnk3bnktzyan+61wGnJsV6AXjZ6C2/+BwAA//8DAM4vgB+aDQAA
78
+ recorded_at: Fri, 10 Dec 2021 10:53:18 GMT
79
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <transaction>
11
+ <amount>10.00</amount>
12
+ <channel>Solidus</channel>
13
+ <options>
14
+ <store-in-vault-on-success type="boolean">true</store-in-vault-on-success>
15
+ <submit-for-settlement type="boolean">true</submit-for-settlement>
16
+ </options>
17
+ <payment-method-nonce>fake-valid-nonce</payment-method-nonce>
18
+ <shipping>
19
+ <first-name>Bruce</first-name>
20
+ <last-name>Wayne</last-name>
21
+ <street-address>42 Spruce Lane Apt 312</street-address>
22
+ <locality>Gotham</locality>
23
+ <postal-code>90210</postal-code>
24
+ <region>CA</region>
25
+ <country-code-alpha2>US</country-code-alpha2>
26
+ </shipping>
27
+ <type>sale</type>
28
+ </transaction>
29
+ headers:
30
+ Accept-Encoding:
31
+ - gzip
32
+ Accept:
33
+ - application/xml
34
+ User-Agent:
35
+ - Braintree Ruby Gem 2.98.0
36
+ X-Apiversion:
37
+ - '5'
38
+ Content-Type:
39
+ - application/xml
40
+ Authorization:
41
+ - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
42
+ response:
43
+ status:
44
+ code: 201
45
+ message: Created
46
+ headers:
47
+ Date:
48
+ - Fri, 13 Sep 2019 14:27:49 GMT
49
+ Content-Type:
50
+ - application/xml; charset=utf-8
51
+ Transfer-Encoding:
52
+ - chunked
53
+ X-Frame-Options:
54
+ - SAMEORIGIN
55
+ X-Xss-Protection:
56
+ - 1; mode=block
57
+ X-Content-Type-Options:
58
+ - nosniff
59
+ X-Authentication:
60
+ - basic_auth
61
+ X-User:
62
+ - 3v249hqtptsg744y
63
+ Vary:
64
+ - Accept-Encoding
65
+ Content-Encoding:
66
+ - gzip
67
+ Etag:
68
+ - W/"3fcabe79853d46ebc3e84b6bafd1a249"
69
+ Cache-Control:
70
+ - max-age=0, private, must-revalidate
71
+ X-Runtime:
72
+ - '0.678478'
73
+ X-Request-Id:
74
+ - 02-1568384868.912-92.223.152.178-13024911
75
+ Content-Security-Policy:
76
+ - frame-ancestors 'self'
77
+ X-Broxyid:
78
+ - 02-1568384868.912-92.223.152.178-13024911
79
+ Strict-Transport-Security:
80
+ - max-age=31536000; includeSubDomains
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: !binary |-
84
+ H4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HZfSh/6moxpK8P2f2M4Du6TThLd+rOJsABDpc5wg1NIToG0MkppI6SbkgWhJjIU18dJ067cQ0tb3+gaQiROcxPfn85udb4jadZ0R+HzV9thhccmBz+9fc4YLfx4/SvLJjMo5trOXt6vU+eXm46hK/TKP0P/wAAAP//AwBmQepneRcAAA==
85
+ http_version:
86
+ recorded_at: Fri, 13 Sep 2019 14:27:50 GMT
87
+ recorded_with: VCR 5.0.0