--- http_interactions: - request: method: post uri: https://api.stripe.com/v1/tokens body: encoding: US-ASCII string: card[number]=4242424242424242&card[exp_month]=1&card[exp_year]=2015&card[cvc]=123 headers: Accept: - ! '*/*; q=0.5, application/xml' Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.16.0 Authorization: - Bearer sk_test_kHviyCxbt9kBxeu46TeefJQH Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - ! '{"bindings_version":"1.16.0","lang":"ruby","lang_version":"1.9.3 p327 (2012-11-10)","platform":"x86_64-darwin13.1.0","publisher":"stripe","uname":"Darwin ayi-ltm1.internal.salesforce.com 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"}' Content-Length: - '81' response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 07 Nov 2014 01:42:31 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '623' Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Methods: - GET, POST, HEAD, OPTIONS, DELETE Access-Control-Max-Age: - '300' Cache-Control: - no-cache, no-store Request-Id: - ea64b1f2-9b94-4b6f-bb1c-c6e3784007b3 Stripe-Version: - '2014-10-07' Strict-Transport-Security: - max-age=31556926; includeSubDomains body: encoding: US-ASCII string: ! "{\n \"id\": \"tok_14w1lj2Od3yiQVdJdZtBSbXI\",\n \"livemode\": false,\n \ \"created\": 1415324551,\n \"used\": false,\n \"object\": \"token\",\n \ \"type\": \"card\",\n \"card\": {\n \"id\": \"card_14w1lj2Od3yiQVdJ1fiG5eGJ\",\n \ \"object\": \"card\",\n \"last4\": \"4242\",\n \"brand\": \"Visa\",\n \ \"funding\": \"credit\",\n \"exp_month\": 1,\n \"exp_year\": 2015,\n \ \"fingerprint\": \"xrSmurPsZCJllxXR\",\n \"country\": \"US\",\n \"name\": null,\n \"address_line1\": null,\n \"address_line2\": null,\n \"address_city\": null,\n \"address_state\": null,\n \"address_zip\": null,\n \"address_country\": null,\n \"dynamic_last4\": null,\n \"customer\": null\n }\n}\n" http_version: recorded_at: Fri, 07 Nov 2014 01:42:31 GMT - request: method: post uri: https://api.stripe.com/v1/charges body: encoding: US-ASCII string: amount=2000¤cy=usd&card=tok_14w1lj2Od3yiQVdJdZtBSbXI&description=Upgrade%20to%20Gold headers: Accept: - ! '*/*; q=0.5, application/xml' Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.16.0 Authorization: - Bearer sk_test_kHviyCxbt9kBxeu46TeefJQH Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - ! '{"bindings_version":"1.16.0","lang":"ruby","lang_version":"1.9.3 p327 (2012-11-10)","platform":"x86_64-darwin13.1.0","publisher":"stripe","uname":"Darwin ayi-ltm1.internal.salesforce.com 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"}' Content-Length: - '90' response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 07 Nov 2014 01:42:32 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '1362' Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Methods: - GET, POST, HEAD, OPTIONS, DELETE Access-Control-Max-Age: - '300' Cache-Control: - no-cache, no-store Request-Id: - dad96b4a-bcc7-4537-9ddb-dd3b6093a0d2 Stripe-Version: - '2014-10-07' Strict-Transport-Security: - max-age=31556926; includeSubDomains body: encoding: US-ASCII string: ! "{\n \"id\": \"ch_14w1lk2Od3yiQVdJuaBrKoSb\",\n \"object\": \"charge\",\n \ \"created\": 1415324552,\n \"livemode\": false,\n \"paid\": true,\n \"amount\": 2000,\n \"currency\": \"usd\",\n \"refunded\": false,\n \"card\": {\n \"id\": \"card_14w1lj2Od3yiQVdJ1fiG5eGJ\",\n \"object\": \"card\",\n \"last4\": \"4242\",\n \"brand\": \"Visa\",\n \"funding\": \"credit\",\n \"exp_month\": 1,\n \"exp_year\": 2015,\n \"fingerprint\": \"xrSmurPsZCJllxXR\",\n \ \"country\": \"US\",\n \"name\": null,\n \"address_line1\": null,\n \ \"address_line2\": null,\n \"address_city\": null,\n \"address_state\": null,\n \"address_zip\": null,\n \"address_country\": null,\n \"cvc_check\": \"pass\",\n \"address_line1_check\": null,\n \"address_zip_check\": null,\n \"dynamic_last4\": null,\n \"customer\": null\n },\n \"captured\": true,\n \"refunds\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \ \"has_more\": false,\n \"url\": \"/v1/charges/ch_14w1lk2Od3yiQVdJuaBrKoSb/refunds\",\n \ \"data\": []\n },\n \"balance_transaction\": \"txn_14w1lk2Od3yiQVdJ4tGMRyec\",\n \ \"failure_message\": null,\n \"failure_code\": null,\n \"amount_refunded\": 0,\n \"customer\": null,\n \"invoice\": null,\n \"description\": \"Upgrade to Gold\",\n \"dispute\": null,\n \"metadata\": {},\n \"statement_description\": null,\n \"fraud_details\": {\n \"stripe_report\": null,\n \"user_report\": null\n },\n \"receipt_email\": null,\n \"receipt_number\": null,\n \"shipping\": null\n}\n" http_version: recorded_at: Fri, 07 Nov 2014 01:42:32 GMT - request: method: post uri: https://collector.newrelic.com/agent_listener/14//get_redirect_host?marshal_format=json body: encoding: UTF-8 string: ! '[]' headers: Content-Encoding: - identity Host: - collector.newrelic.com Accept: - ! '*/*' User-Agent: - NewRelic-RubyAgent/3.9.6.257 (ruby 1.9.3 x86_64-darwin13.1.0) zlib/1.2.5 Content-Type: - application/octet-stream response: status: code: 200 message: OK headers: Content-Length: - '133' body: encoding: US-ASCII string: ! '{"exception":{"message":"Invalid license key, please contact support@newrelic.com","error_type":"NewRelic::Agent::LicenseException"}}' http_version: recorded_at: Fri, 07 Nov 2014 01:42:32 GMT recorded_with: VCR 2.9.0