allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
16
vendor/omnipay/stripe/tests/Mock/CancelSubscriptionFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/CancelSubscriptionFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 24 Jan 2016 22:29:41 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 188
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Customer cus_7lqqgOm33t4xSU does not have a subscription with ID sub_7mU0DonX8GQZFW",
|
||||
"param": "subscription"
|
||||
}
|
||||
}
|
||||
44
vendor/omnipay/stripe/tests/Mock/CancelSubscriptionSuccess.txt
vendored
Normal file
44
vendor/omnipay/stripe/tests/Mock/CancelSubscriptionSuccess.txt
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 24 Jan 2016 22:29:41 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 188
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "sub_7mU0FokE8GQZFW",
|
||||
"object": "subscription",
|
||||
"application_fee_percent": null,
|
||||
"cancel_at_period_end": false,
|
||||
"canceled_at": null,
|
||||
"current_period_end": 1456347880,
|
||||
"current_period_start": 1453669480,
|
||||
"customer": "cus_7lqqgOm33t4xSU",
|
||||
"discount": null,
|
||||
"ended_at": null,
|
||||
"metadata": {
|
||||
},
|
||||
"plan": {
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"amount": 500,
|
||||
"created": 1450151929,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"name": "Basic",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"start": 1453669480,
|
||||
"status": "canceled",
|
||||
"tax_percent": null,
|
||||
"trial_end": null,
|
||||
"trial_start": null
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/CaptureFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/CaptureFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Sun, 05 May 2013 08:52:09 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 127
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Charge ch_1lvgjcQgrNWUuZ has already been captured."
|
||||
}
|
||||
}
|
||||
57
vendor/omnipay/stripe/tests/Mock/CaptureSuccess.txt
vendored
Normal file
57
vendor/omnipay/stripe/tests/Mock/CaptureSuccess.txt
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sun, 05 May 2013 08:51:15 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 997
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
{
|
||||
"id": "ch_1lvgjcQgrNWUuZ",
|
||||
"object": "charge",
|
||||
"created": 1367743707,
|
||||
"livemode": false,
|
||||
"paid": true,
|
||||
"amount": 1000,
|
||||
"currency": "usd",
|
||||
"refunded": false,
|
||||
"fee": 59,
|
||||
"fee_details": [
|
||||
{
|
||||
"amount": 59,
|
||||
"currency": "usd",
|
||||
"type": "stripe_fee",
|
||||
"description": "Stripe processing fees",
|
||||
"application": null,
|
||||
"amount_refunded": 0
|
||||
}
|
||||
],
|
||||
"card": {
|
||||
"object": "card",
|
||||
"last4": "4242",
|
||||
"type": "Visa",
|
||||
"exp_month": 9,
|
||||
"exp_year": 2015,
|
||||
"fingerprint": "dfB0t0avO0bWr9eY",
|
||||
"country": "US",
|
||||
"name": "fdsa asdf",
|
||||
"address_line1": "",
|
||||
"address_line2": "",
|
||||
"address_city": "",
|
||||
"address_state": "",
|
||||
"address_zip": "",
|
||||
"address_country": "",
|
||||
"cvc_check": "pass",
|
||||
"address_line1_check": "pass",
|
||||
"address_zip_check": "pass"
|
||||
},
|
||||
"captured": true,
|
||||
"failure_message": null,
|
||||
"amount_refunded": 0,
|
||||
"customer": null,
|
||||
"invoice": null,
|
||||
"description": "",
|
||||
"dispute": null
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/CreateCardFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/CreateCardFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 402 Payment Required
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:17:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 139
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"message": "You must provide an integer value for 'exp_year'.",
|
||||
"type": "card_error",
|
||||
"param": "exp_year"
|
||||
}
|
||||
}
|
||||
32
vendor/omnipay/stripe/tests/Mock/CreateCardSuccess.txt
vendored
Normal file
32
vendor/omnipay/stripe/tests/Mock/CreateCardSuccess.txt
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:11:12 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "card_15WgqxIobxWFFmzdk5V9z3g9",
|
||||
"object": "card",
|
||||
"last4": "4444",
|
||||
"brand": "MasterCard",
|
||||
"funding": "credit",
|
||||
"exp_month": 1,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "JM5ri11gcDo8UgkV",
|
||||
"country": "US",
|
||||
"name": "Another Customer",
|
||||
"address_line1": "1 Downa Creek Road",
|
||||
"address_line2": "",
|
||||
"address_city": "Upper Swan",
|
||||
"address_state": "WA",
|
||||
"address_zip": "6999",
|
||||
"address_country": "AU",
|
||||
"cvc_check": "pass",
|
||||
"address_line1_check": "pass",
|
||||
"address_zip_check": "pass",
|
||||
"dynamic_last4": null,
|
||||
"customer": "cus_5i75ZdvSgIgLdW"
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/CreateCouponFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/CreateCouponFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Fri, 11 Feb 2016 19:23:31 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 96
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_already_exists",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-already-exists",
|
||||
"message": "Coupon already exists.",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
26
vendor/omnipay/stripe/tests/Mock/CreateCouponSuccess.txt
vendored
Normal file
26
vendor/omnipay/stripe/tests/Mock/CreateCouponSuccess.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "50_OFF",
|
||||
"object": "coupon",
|
||||
"amount_off": null,
|
||||
"created": 1593245873,
|
||||
"currency": null,
|
||||
"duration": "repeating",
|
||||
"duration_in_months": 3,
|
||||
"livemode": false,
|
||||
"max_redemptions": 10,
|
||||
"metadata": {},
|
||||
"name": "50% off",
|
||||
"percent_off": 50.0,
|
||||
"redeem_by": 1606460031,
|
||||
"times_redeemed": 0,
|
||||
"valid": true
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/CreateCustomerFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/CreateCustomerFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 402 Payment Required
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:17:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 139
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"message": "You must provide an integer value for 'exp_year'.",
|
||||
"type": "card_error",
|
||||
"param": "exp_year"
|
||||
}
|
||||
}
|
||||
41
vendor/omnipay/stripe/tests/Mock/CreateCustomerSuccess.txt
vendored
Normal file
41
vendor/omnipay/stripe/tests/Mock/CreateCustomerSuccess.txt
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:11:12 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "customer",
|
||||
"created": 1361895072,
|
||||
"id": "cus_1MZSEtqSghKx99",
|
||||
"livemode": false,
|
||||
"description": "fdsa",
|
||||
"default_card": "card_15WhVwIobxWFFmzdQ3QBSwNi",
|
||||
"active_card": {
|
||||
"object": "card",
|
||||
"last4": "4242",
|
||||
"type": "Visa",
|
||||
"exp_month": 9,
|
||||
"exp_year": 2019,
|
||||
"fingerprint": "dfB0t0avO0bWr9eY",
|
||||
"country": "US",
|
||||
"name": "fdjsk fdjksl",
|
||||
"address_line1": "",
|
||||
"address_line2": "",
|
||||
"address_city": "",
|
||||
"address_state": "",
|
||||
"address_zip": "",
|
||||
"address_country": "",
|
||||
"cvc_check": "pass",
|
||||
"address_line1_check": "pass",
|
||||
"address_zip_check": "pass"
|
||||
},
|
||||
"email": null,
|
||||
"delinquent": false,
|
||||
"subscription": null,
|
||||
"discount": null,
|
||||
"account_balance": 0
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/CreateInvoiceItemFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/CreateInvoiceItemFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Mon, 22 Feb 2016 05:47:29 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 138
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_7vX2emm98A7YcrY",
|
||||
"param": "customer"
|
||||
}
|
||||
}
|
||||
29
vendor/omnipay/stripe/tests/Mock/CreateInvoiceItemSuccess.txt
vendored
Normal file
29
vendor/omnipay/stripe/tests/Mock/CreateInvoiceItemSuccess.txt
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 19 Feb 2016 05:45:18 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 435
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "ii_17hCVWCry4L0tg4v2hLQvxrX",
|
||||
"object": "invoiceitem",
|
||||
"amount": 1000,
|
||||
"currency": "usd",
|
||||
"customer": "cus_7vX2emm98A7crY",
|
||||
"date": 1456109918,
|
||||
"description": "One-time setup fee",
|
||||
"discountable": true,
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"period": {
|
||||
"start": 1456109918,
|
||||
"end": 1456109918
|
||||
},
|
||||
"plan": null,
|
||||
"proration": false,
|
||||
"quantity": null,
|
||||
"subscription": null
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/CreatePlanFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/CreatePlanFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Fri, 11 Feb 2016 19:23:31 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 96
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Plan already exists."
|
||||
}
|
||||
}
|
||||
31
vendor/omnipay/stripe/tests/Mock/CreatePlanSuccess.txt
vendored
Normal file
31
vendor/omnipay/stripe/tests/Mock/CreatePlanSuccess.txt
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 11 Feb 2016 20:23:14 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"active": false,
|
||||
"aggregate_usage": null,
|
||||
"amount": 1900,
|
||||
"created": 1455308594,
|
||||
"currency": "usd",
|
||||
"amount_decimal": "2000",
|
||||
"billing_scheme": "per_unit",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"nickname": "Amazing Gold Plan",
|
||||
"product": "prod_GWN5y0jpQeU9yj",
|
||||
"tiers": null,
|
||||
"tiers_mode": null,
|
||||
"transform_usage": null,
|
||||
"trial_period_days": null,
|
||||
"usage_type": "licensed"
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/CreateSubscriptionFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/CreateSubscriptionFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Sun, 24 Jan 2016 21:44:29 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 299
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such plan: basico",
|
||||
"param": "plan"
|
||||
}
|
||||
}
|
||||
41
vendor/omnipay/stripe/tests/Mock/CreateSubscriptionSuccess.txt
vendored
Normal file
41
vendor/omnipay/stripe/tests/Mock/CreateSubscriptionSuccess.txt
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sun, 24 Jan 2016 21:59:58 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 754
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "sub_7mUtC70CqhYYMX",
|
||||
"object": "subscription",
|
||||
"application_fee_percent": null,
|
||||
"cancel_at_period_end": false,
|
||||
"canceled_at": null,
|
||||
"current_period_end": 1456351198,
|
||||
"current_period_start": 1453672798,
|
||||
"customer": "cus_7lqqgOm33t4xSU",
|
||||
"discount": null,
|
||||
"ended_at": null,
|
||||
"metadata": {},
|
||||
"plan": {
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"amount": 500,
|
||||
"created": 1450151929,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Basic",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"start": 1453672798,
|
||||
"status": "active",
|
||||
"tax_percent": null,
|
||||
"trial_end": 1606460031,
|
||||
"trial_start": 1593241598
|
||||
}
|
||||
22
vendor/omnipay/stripe/tests/Mock/CreateTokenFailure.txt
vendored
Normal file
22
vendor/omnipay/stripe/tests/Mock/CreateTokenFailure.txt
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Mon, 19 Jun 2017 00:29:43 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 140
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
Request-Id: req_Arxhy7yn9a1MsY
|
||||
Stripe-Account: acct_19jzyNJqXiFraDuL
|
||||
Stripe-Version: 2015-04-07
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_ArtrMQYPgb0QaUasd",
|
||||
"param": "customer"
|
||||
}
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Mock/CreateTokenSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Mock/CreateTokenSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 19 Jun 2017 00:28:43 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 798
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
Request-Id: req_ArxgXN0W9YsXss
|
||||
Stripe-Account: acct_14901h0a0fh01293
|
||||
Stripe-Version: 2015-04-07
|
||||
Strict-Transport-Security: max-age=31556926; includeSubDomains
|
||||
|
||||
{
|
||||
"id": "tok_1AWDl1JqXiFraDuL2xOKEXKy",
|
||||
"object": "token",
|
||||
"card": {
|
||||
"id": "card_1AWDl1JqXiFraDuL8KJpKlxe",
|
||||
"object": "card",
|
||||
"address_city": null,
|
||||
"address_country": null,
|
||||
"address_line1": null,
|
||||
"address_line1_check": null,
|
||||
"address_line2": null,
|
||||
"address_state": null,
|
||||
"address_zip": null,
|
||||
"address_zip_check": null,
|
||||
"brand": "Visa",
|
||||
"country": "US",
|
||||
"currency": "usd",
|
||||
"cvc_check": null,
|
||||
"dynamic_last4": null,
|
||||
"exp_month": 8,
|
||||
"exp_year": 2019,
|
||||
"fingerprint": "OfIzYIod5lokCObt",
|
||||
"funding": "credit",
|
||||
"last4": "4242",
|
||||
"metadata": {},
|
||||
"name": null,
|
||||
"tokenization_method": null
|
||||
},
|
||||
"client_ip": "179.24.124.12",
|
||||
"created": 1497832123,
|
||||
"livemode": false,
|
||||
"type": "card",
|
||||
"used": false
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/DeleteCardFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/DeleteCardFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZeNih5LdKxDq",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
14
vendor/omnipay/stripe/tests/Mock/DeleteCardSuccess.txt
vendored
Normal file
14
vendor/omnipay/stripe/tests/Mock/DeleteCardSuccess.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:33:08 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 52
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"deleted": true,
|
||||
"id": "cus_1MZSEtqSghKx99"
|
||||
}
|
||||
18
vendor/omnipay/stripe/tests/Mock/DeleteCouponFailure.txt
vendored
Normal file
18
vendor/omnipay/stripe/tests/Mock/DeleteCouponFailure.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such coupon: 30_OFF",
|
||||
"param": "coupon",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
14
vendor/omnipay/stripe/tests/Mock/DeleteCouponSuccess.txt
vendored
Normal file
14
vendor/omnipay/stripe/tests/Mock/DeleteCouponSuccess.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "50_OFF",
|
||||
"object": "coupon",
|
||||
"deleted": true
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/DeleteCustomerFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/DeleteCustomerFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZeNih5LdKxDq",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
14
vendor/omnipay/stripe/tests/Mock/DeleteCustomerSuccess.txt
vendored
Normal file
14
vendor/omnipay/stripe/tests/Mock/DeleteCustomerSuccess.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:33:08 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 52
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"deleted": true,
|
||||
"id": "cus_1MZSEtqSghKx99"
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/DeleteInvoiceItemFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/DeleteInvoiceItemFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Mon, 22 Feb 2016 06:38:13 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such invoiceitem: ii_17hC3JCryC4r2g4vLyzjN0n3",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
12
vendor/omnipay/stripe/tests/Mock/DeleteInvoiceItemSuccess.txt
vendored
Normal file
12
vendor/omnipay/stripe/tests/Mock/DeleteInvoiceItemSuccess.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 22 Feb 2016 06:42:10 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 61
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"deleted": true,
|
||||
"id": "ii_17hC3JCryC4r2g4vLyzjN0n3"
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/DeletePlanFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/DeletePlanFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Fri, 12 Feb 2016 21:00:42 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 115
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such plan: basico",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
14
vendor/omnipay/stripe/tests/Mock/DeletePlanSuccess.txt
vendored
Normal file
14
vendor/omnipay/stripe/tests/Mock/DeletePlanSuccess.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 12 Feb 2016 20:59:56 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 39
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"deleted": true,
|
||||
"id": "basic"
|
||||
}
|
||||
20
vendor/omnipay/stripe/tests/Mock/DetachSourceFailure.txt
vendored
Normal file
20
vendor/omnipay/stripe/tests/Mock/DetachSourceFailure.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such source: src_1Gyk9dK1civsTrCUNB7v9XoFo",
|
||||
"param": "id",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
51
vendor/omnipay/stripe/tests/Mock/DetachSourceSuccess.txt
vendored
Normal file
51
vendor/omnipay/stripe/tests/Mock/DetachSourceSuccess.txt
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 21:12:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 943
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "src_1Gyk9dK1civsTrCUNB7v9XoF",
|
||||
"object": "source",
|
||||
"amount": null,
|
||||
"card": {
|
||||
"exp_month": 6,
|
||||
"exp_year": 2021,
|
||||
"last4": "4242",
|
||||
"country": "US",
|
||||
"brand": "Visa",
|
||||
"funding": "credit",
|
||||
"fingerprint": "f1JoQaLEG7ovd7N4",
|
||||
"three_d_secure": "optional",
|
||||
"name": null,
|
||||
"address_line1_check": null,
|
||||
"address_zip_check": null,
|
||||
"cvc_check": null,
|
||||
"tokenization_method": null,
|
||||
"dynamic_last4": null
|
||||
},
|
||||
"client_secret": "src_client_secret_ojSdoIOHML61Ar89cb2sXyuo",
|
||||
"created": 1593287857,
|
||||
"currency": null,
|
||||
"flow": "none",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"owner": {
|
||||
"address": null,
|
||||
"email": null,
|
||||
"name": null,
|
||||
"phone": null,
|
||||
"verified_address": null,
|
||||
"verified_email": null,
|
||||
"verified_name": null,
|
||||
"verified_phone": null
|
||||
},
|
||||
"statement_descriptor": null,
|
||||
"status": "consumed",
|
||||
"type": "card",
|
||||
"usage": "reusable"
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchApplicationFeeFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchApplicationFeeFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 13:40:31 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 132
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such application fee: fee_1FITlv123YJsynqe3nOIfake",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
32
vendor/omnipay/stripe/tests/Mock/FetchApplicationFeeSuccess.txt
vendored
Normal file
32
vendor/omnipay/stripe/tests/Mock/FetchApplicationFeeSuccess.txt
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "fee_1FITlv123YJsynqe3nOIfake",
|
||||
"object": "application_fee",
|
||||
"account": "acct_14901h0a0fh01293",
|
||||
"amount": 100,
|
||||
"amount_refunded": 0,
|
||||
"application": "ca_Fo5xaLt123SEtSKHui0SZOgAiuVwfake",
|
||||
"balance_transaction": "txn_1FH8W123vYJsynqeQKMWfake",
|
||||
"charge": "ch_1FIT123rvYJsynqeQpJOFfake",
|
||||
"created": 1568438771,
|
||||
"currency": "usd",
|
||||
"livemode": false,
|
||||
"originating_transaction": null,
|
||||
"refunded": false,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/application_fees/fee_1FITlvArvYJsynqe3nOIfake/refunds"
|
||||
}
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchBalanceTransactionFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchBalanceTransactionFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 13:40:31 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 132
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such balance: txn_1044bu4CmsDZ3Zk6BGg97VUUfake",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
49
vendor/omnipay/stripe/tests/Mock/FetchBalanceTransactionSuccess.txt
vendored
Normal file
49
vendor/omnipay/stripe/tests/Mock/FetchBalanceTransactionSuccess.txt
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "txn_1044bu4CmsDZ3Zk6BGg97VUU",
|
||||
"object": "balance_transaction",
|
||||
"amount": 4013,
|
||||
"available_on": 1401235200,
|
||||
"created": 1400651717,
|
||||
"currency": "eur",
|
||||
"description": "Test #4",
|
||||
"fee": 226,
|
||||
"fee_details": [
|
||||
{
|
||||
"amount": 80,
|
||||
"application": null,
|
||||
"currency": "chf",
|
||||
"description": "Stripe currency conversion fee",
|
||||
"type": "stripe_fee"
|
||||
},
|
||||
{
|
||||
"amount": 146,
|
||||
"application": null,
|
||||
"currency": "chf",
|
||||
"description": "Stripe processing fees",
|
||||
"type": "stripe_fee"
|
||||
}
|
||||
],
|
||||
"net": 3787,
|
||||
"source": "ch_1044bu4CmsDZ3Zk6HkSkVsxd",
|
||||
"sourced_transfers": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/transfers?source_transaction=ch_1044bu4CmsDZ3Zk6HkSkVsxd"
|
||||
},
|
||||
"status": "available",
|
||||
"type": "charge"
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/FetchChargeFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/FetchChargeFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Fri, 15 Apr 2016 21:42:18 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 138
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such charge: ch_180ZdUCryC0oikg4v4lc4F59D",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
70
vendor/omnipay/stripe/tests/Mock/FetchChargeSuccess.txt
vendored
Normal file
70
vendor/omnipay/stripe/tests/Mock/FetchChargeSuccess.txt
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 15 Apr 2016 21:37:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 1521
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "ch_180ZdUCryC0oikg4v4lc4F59D",
|
||||
"object": "charge",
|
||||
"created": 1460437056,
|
||||
"livemode": false,
|
||||
"paid": true,
|
||||
"status": "succeeded",
|
||||
"amount": 1000,
|
||||
"currency": "usd",
|
||||
"refunded": false,
|
||||
"source": {
|
||||
"id": "card_990JozzC88C4rAAg4vg5yLG3j3",
|
||||
"object": "card",
|
||||
"last4": "1234",
|
||||
"brand": "Visa",
|
||||
"funding": "credit",
|
||||
"exp_month": 1,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "32Q1po9Ujn5DpPgL",
|
||||
"country": "US",
|
||||
"name": "",
|
||||
"address_line1": "",
|
||||
"address_line2": "",
|
||||
"address_city": "",
|
||||
"address_state": "",
|
||||
"address_zip": "",
|
||||
"address_country": "",
|
||||
"cvc_check": null,
|
||||
"address_line1_check": null,
|
||||
"address_zip_check": null,
|
||||
"tokenization_method": null,
|
||||
"dynamic_last4": null,
|
||||
"metadata": {},
|
||||
"customer": "cus_8GoWuzFake3R8C"
|
||||
},
|
||||
"source_transfer": null,
|
||||
"captured": true,
|
||||
"balance_transaction": "txn_180ZdUCry4Lot2g4vHVZH6y4A",
|
||||
"failure_message": null,
|
||||
"failure_code": null,
|
||||
"amount_refunded": 0,
|
||||
"customer": "cus_8GoWuzFake3R8C",
|
||||
"invoice": "in_180Z1234yC4r2g4vCYO4qcIY",
|
||||
"order": null,
|
||||
"description": null,
|
||||
"dispute": null,
|
||||
"metadata": {},
|
||||
"statement_descriptor": "STATEMENT",
|
||||
"fraud_details": {},
|
||||
"receipt_email": null,
|
||||
"receipt_number": null,
|
||||
"shipping": null,
|
||||
"destination": null,
|
||||
"application_fee": null,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"total_count": 0,
|
||||
"has_more": false,
|
||||
"url": "/v1/charges/ch_180ZdUCryC0oikg4v4lc4F59D/refunds",
|
||||
"data": []
|
||||
}
|
||||
}
|
||||
18
vendor/omnipay/stripe/tests/Mock/FetchCouponFailure.txt
vendored
Normal file
18
vendor/omnipay/stripe/tests/Mock/FetchCouponFailure.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such coupon: 30_OFF",
|
||||
"param": "coupon",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
26
vendor/omnipay/stripe/tests/Mock/FetchCouponSuccess.txt
vendored
Normal file
26
vendor/omnipay/stripe/tests/Mock/FetchCouponSuccess.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "50_OFF",
|
||||
"object": "coupon",
|
||||
"amount_off": null,
|
||||
"created": 1593245873,
|
||||
"currency": null,
|
||||
"duration": "repeating",
|
||||
"duration_in_months": 3,
|
||||
"livemode": false,
|
||||
"max_redemptions": 10,
|
||||
"metadata": {},
|
||||
"name": "50% off",
|
||||
"percent_off": 50.0,
|
||||
"redeem_by": 1606460031,
|
||||
"times_redeemed": 0,
|
||||
"valid": true
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchCustomerFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchCustomerFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZSEtqSghKx99",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
44
vendor/omnipay/stripe/tests/Mock/FetchCustomerSuccess.txt
vendored
Normal file
44
vendor/omnipay/stripe/tests/Mock/FetchCustomerSuccess.txt
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:33:08 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 52
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "cus_1MZSEtqSghKx99",
|
||||
"object": "customer",
|
||||
"account_balance": 0,
|
||||
"created": 1458672689,
|
||||
"currency": "cad",
|
||||
"default_source": null,
|
||||
"delinquent": false,
|
||||
"description": null,
|
||||
"discount": null,
|
||||
"email": "foo@foo.com",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"shipping": null,
|
||||
"sources": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/customers/cus_1MZSEtqSghKx99/sources"
|
||||
},
|
||||
"subscriptions": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/customers/cus_1MZSEtqSghKx99/subscriptions"
|
||||
}
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/FetchEventFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/FetchEventFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Mon, 25 Jan 2016 16:28:23 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 132
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such event: evt_17X23UCryC4r2g4vdolh6muI",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
53
vendor/omnipay/stripe/tests/Mock/FetchEventSuccess.txt
vendored
Normal file
53
vendor/omnipay/stripe/tests/Mock/FetchEventSuccess.txt
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 25 Jan 2016 16:23:04 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 365
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "evt_17X23UCryC4r2g4vdolh6muI",
|
||||
"object": "event",
|
||||
"api_version": "2015-09-08",
|
||||
"created": 1453696460,
|
||||
"data": {
|
||||
"object": {
|
||||
"id": "sub_7mbFbLbGdNjz2k",
|
||||
"object": "subscription",
|
||||
"application_fee_percent": null,
|
||||
"cancel_at_period_end": false,
|
||||
"canceled_at": null,
|
||||
"current_period_end": 1456374859,
|
||||
"current_period_start": 1453696459,
|
||||
"customer": "cus_7lqqgOm33t4xSU",
|
||||
"discount": null,
|
||||
"ended_at": null,
|
||||
"metadata": {},
|
||||
"plan": {
|
||||
"id": "standard",
|
||||
"object": "plan",
|
||||
"amount": 1900,
|
||||
"created": 1450152017,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Standard",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"start": 1453696459,
|
||||
"status": "active",
|
||||
"tax_percent": null,
|
||||
"trial_end": null,
|
||||
"trial_start": null
|
||||
}
|
||||
},
|
||||
"livemode": false,
|
||||
"pending_webhooks": 0,
|
||||
"request": "req_7mbFgLgKFTc6Gu",
|
||||
"type": "customer.subscription.created"
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/FetchInvoiceFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/FetchInvoiceFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Mon, 01 Feb 2016 00:45:37 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 140
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such invoice: in_17ZPbRCryC4r2g4vIdAFxptK",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/FetchInvoiceItemsFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/FetchInvoiceItemsFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:16:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such invoiceitem: ii_17hC3JCryC4r2g4vLyzjN0n3",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
29
vendor/omnipay/stripe/tests/Mock/FetchInvoiceItemsSuccess.txt
vendored
Normal file
29
vendor/omnipay/stripe/tests/Mock/FetchInvoiceItemsSuccess.txt
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:33:48 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 435
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "ii_17hC3JCryC4r2g4vLyzjN0n3",
|
||||
"object": "invoiceitem",
|
||||
"amount": 1500,
|
||||
"currency": "usd",
|
||||
"customer": "cus_7vX2emm98A7CrY",
|
||||
"date": 1456102789,
|
||||
"description": "One-time setup fee",
|
||||
"discountable": true,
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"period": {
|
||||
"start": 1456102789,
|
||||
"end": 1456102789
|
||||
},
|
||||
"plan": null,
|
||||
"proration": false,
|
||||
"quantity": null,
|
||||
"subscription": null
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Mock/FetchInvoiceLinesFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/FetchInvoiceLinesFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 31 Jan 2016 23:58:08 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 140
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such invoice: in_17ZPbRCryC4r2g4vIdAFxptK",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
48
vendor/omnipay/stripe/tests/Mock/FetchInvoiceLinesSuccess.txt
vendored
Normal file
48
vendor/omnipay/stripe/tests/Mock/FetchInvoiceLinesSuccess.txt
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sun, 31 Jan 2016 23:56:47 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 898
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "sub_7p3iCfmcz1Xowm",
|
||||
"object": "line_item",
|
||||
"amount": 1900,
|
||||
"currency": "usd",
|
||||
"description": null,
|
||||
"discountable": true,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"period": {
|
||||
"start": 1454263633,
|
||||
"end": 1456769233
|
||||
},
|
||||
"plan": {
|
||||
"id": "standard",
|
||||
"object": "plan",
|
||||
"amount": 1900,
|
||||
"created": 1450152017,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Standard",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"proration": false,
|
||||
"quantity": 1,
|
||||
"subscription": null,
|
||||
"type": "subscription"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"url": "/v1/invoices/in_17ZPbRCryC4r2g4vIdAFxptK/lines"
|
||||
}
|
||||
82
vendor/omnipay/stripe/tests/Mock/FetchInvoiceSuccess.txt
vendored
Normal file
82
vendor/omnipay/stripe/tests/Mock/FetchInvoiceSuccess.txt
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 01 Feb 2016 00:44:38 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 1818
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "in_17ZPbRCryC4r2g4vIdAFxptK",
|
||||
"object": "invoice",
|
||||
"amount_due": 1900,
|
||||
"application_fee": null,
|
||||
"attempt_count": 1,
|
||||
"attempted": true,
|
||||
"charge": "ch_17ZPbRCryC4r2g4vXr5sduQX",
|
||||
"closed": true,
|
||||
"currency": "usd",
|
||||
"customer": "cus_7mu7d9osRTRwzT",
|
||||
"date": 1454263633,
|
||||
"description": null,
|
||||
"discount": null,
|
||||
"ending_balance": 0,
|
||||
"forgiven": false,
|
||||
"lines": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "sub_7p3iCfmcz1Xowm",
|
||||
"object": "line_item",
|
||||
"amount": 1900,
|
||||
"currency": "usd",
|
||||
"description": null,
|
||||
"discountable": true,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"period": {
|
||||
"start": 1454263633,
|
||||
"end": 1456769233
|
||||
},
|
||||
"plan": {
|
||||
"id": "standard",
|
||||
"object": "plan",
|
||||
"amount": 1900,
|
||||
"created": 1450152017,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Standard",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"proration": false,
|
||||
"quantity": 1,
|
||||
"subscription": null,
|
||||
"type": "subscription"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/invoices/in_17ZPbRCryC4r2g4vIdAFxptK/lines"
|
||||
},
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"next_payment_attempt": null,
|
||||
"paid": true,
|
||||
"period_end": 1454263633,
|
||||
"period_start": 1454260525,
|
||||
"receipt_number": null,
|
||||
"starting_balance": 0,
|
||||
"statement_descriptor": null,
|
||||
"subscription": "sub_7p3iCfmcz1Xowm",
|
||||
"subtotal": 1900,
|
||||
"tax": null,
|
||||
"tax_percent": null,
|
||||
"total": 1900,
|
||||
"webhooks_delivered_at": 1454263646,
|
||||
"payment": "ch_17ZPbRCryC4r2g4vXr5sduQX"
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchPlanFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchPlanFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Fri, 12 Feb 2016 20:48:09 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 115
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such plan: basico",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
24
vendor/omnipay/stripe/tests/Mock/FetchPlanSuccess.txt
vendored
Normal file
24
vendor/omnipay/stripe/tests/Mock/FetchPlanSuccess.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 12 Feb 2016 20:47:00 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 268
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"amount": 500,
|
||||
"created": 1450151929,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Basic",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
}
|
||||
19
vendor/omnipay/stripe/tests/Mock/FetchSourceFailure.txt
vendored
Normal file
19
vendor/omnipay/stripe/tests/Mock/FetchSourceFailure.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 21:12:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 241
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such source: src_1GyjQZK1civsTrrUGHtiV3ANo",
|
||||
"param": "",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Mock/FetchSourceSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Mock/FetchSourceSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 21:12:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 943
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id":"src_1GyjQZK1civsTrrUGHtiV3AN",
|
||||
"object":"source",
|
||||
"amount":null,
|
||||
"card":{
|
||||
"exp_month":6,
|
||||
"exp_year":2021,
|
||||
"last4":"4242",
|
||||
"country":"US",
|
||||
"brand":"Visa",
|
||||
"funding":"credit",
|
||||
"fingerprint":"f1JoQaLEG7ovd7N4",
|
||||
"three_d_secure":"optional",
|
||||
"name":null,
|
||||
"address_line1_check":null,
|
||||
"address_zip_check":null,
|
||||
"cvc_check":null,
|
||||
"tokenization_method":null,
|
||||
"dynamic_last4":null
|
||||
},
|
||||
"client_secret":"src_client_secret_kO8e38RMu0NedTxDoTkOJbTc",
|
||||
"created":1593285063,
|
||||
"currency":null,
|
||||
"flow":"none",
|
||||
"livemode":false,
|
||||
"metadata":{},
|
||||
"owner":{
|
||||
"address":null,
|
||||
"email":null,
|
||||
"name":null,
|
||||
"phone":null,
|
||||
"verified_address":null,
|
||||
"verified_email":null,
|
||||
"verified_name":null,
|
||||
"verified_phone":null
|
||||
},
|
||||
"statement_descriptor":null,
|
||||
"status":"chargeable",
|
||||
"type":"card",
|
||||
"usage":"reusable"
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Mon, 15 Feb 2016 08:23:59 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 188
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Customer cus_7twok4jHGpRWHs does not have a subscription with ID sub_7uNSBwlTzGjYWw",
|
||||
"param": "subscription"
|
||||
}
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSchedulesFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSchedulesFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Mon, 26 Jun 2020 13:41:33 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 188
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such subscription schedule: sub_sched_1GagVZKscivsTrcFhfMufnWP",
|
||||
"param": "id",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
68
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSchedulesSuccess.txt
vendored
Normal file
68
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSchedulesSuccess.txt
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 26 Jun 2020 13:41:33 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 784
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "sub_sched_1GagVZKscivsTrcFhfMufnWP",
|
||||
"object": "subscription_schedule",
|
||||
"canceled_at": null,
|
||||
"completed_at": null,
|
||||
"created": 1593158960,
|
||||
"current_phase": null,
|
||||
"customer": "cus_7lqqgOm33t4xSU",
|
||||
"default_settings": {
|
||||
"billing_thresholds": null,
|
||||
"collection_method": "charge_automatically",
|
||||
"default_payment_method": null,
|
||||
"default_source": null,
|
||||
"invoice_settings": null,
|
||||
"transfer_data": null
|
||||
},
|
||||
"end_behavior": "release",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"phases": [
|
||||
{
|
||||
"add_invoice_items": [
|
||||
|
||||
],
|
||||
"application_fee_percent": null,
|
||||
"billing_thresholds": null,
|
||||
"collection_method": null,
|
||||
"coupon": null,
|
||||
"default_payment_method": null,
|
||||
"default_tax_rates": [
|
||||
|
||||
],
|
||||
"end_date": 1596960367,
|
||||
"invoice_settings": null,
|
||||
"plans": [
|
||||
{
|
||||
"billing_thresholds": null,
|
||||
"plan": "plan_GXzqnSohdy458I",
|
||||
"price": "plan_GXzqnSohdy458I",
|
||||
"quantity": 1,
|
||||
"tax_rates": [
|
||||
|
||||
]
|
||||
}
|
||||
],
|
||||
"prorate": true,
|
||||
"proration_behavior": "create_prorations",
|
||||
"start_date": 1595750767,
|
||||
"tax_percent": null,
|
||||
"transfer_data": null,
|
||||
"trial_end": null
|
||||
}
|
||||
],
|
||||
"released_at": null,
|
||||
"released_subscription": null,
|
||||
"renewal_interval": null,
|
||||
"status": "not_started",
|
||||
"subscription": null
|
||||
}
|
||||
41
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSuccess.txt
vendored
Normal file
41
vendor/omnipay/stripe/tests/Mock/FetchSubscriptionSuccess.txt
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 15 Feb 2016 08:26:33 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 784
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "sub_7uWjWw96I3N8Yf",
|
||||
"object": "subscription",
|
||||
"application_fee_percent": null,
|
||||
"cancel_at_period_end": false,
|
||||
"canceled_at": null,
|
||||
"current_period_end": 1456734346,
|
||||
"current_period_start": 1455524746,
|
||||
"customer": "cus_7twok4jHGpRWHs",
|
||||
"discount": null,
|
||||
"ended_at": null,
|
||||
"metadata": {},
|
||||
"plan": {
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"amount": 1900,
|
||||
"created": 1455313398,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Basic",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"start": 1455524746,
|
||||
"status": "active",
|
||||
"tax_percent": null,
|
||||
"trial_end": null,
|
||||
"trial_start": null
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchTokenFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchTokenFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 13:40:31 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 132
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such token: tok_15Kuns2eZvKYlo2CDt9wRdzS",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
40
vendor/omnipay/stripe/tests/Mock/FetchTokenSuccess.txt
vendored
Normal file
40
vendor/omnipay/stripe/tests/Mock/FetchTokenSuccess.txt
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "tok_15Kuns2eZvKYlo2CDt9wRdzS",
|
||||
"livemode": false,
|
||||
"created": 1421255976,
|
||||
"used": false,
|
||||
"object": "token",
|
||||
"type": "card",
|
||||
"card": {
|
||||
"id": "card_15Kuns2eZvKYlo2CugO37SA3",
|
||||
"object": "card",
|
||||
"last4": "4242",
|
||||
"brand": "Visa",
|
||||
"funding": "credit",
|
||||
"exp_month": 8,
|
||||
"exp_year": 2016,
|
||||
"fingerprint": "Xt5EWLLDS7FJjR1c",
|
||||
"country": "US",
|
||||
"name": null,
|
||||
"address_line1": null,
|
||||
"address_line2": null,
|
||||
"address_city": null,
|
||||
"address_state": null,
|
||||
"address_zip": null,
|
||||
"address_country": null,
|
||||
"cvc_check": null,
|
||||
"address_line1_check": null,
|
||||
"address_zip_check": null,
|
||||
"dynamic_last4": null
|
||||
}
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/FetchTransactionFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/FetchTransactionFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 13:40:31 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 132
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such charge: ch_29yrvk84GVDsq9fake",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
59
vendor/omnipay/stripe/tests/Mock/FetchTransactionSuccess.txt
vendored
Normal file
59
vendor/omnipay/stripe/tests/Mock/FetchTransactionSuccess.txt
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "ch_29yrvk84GVDsq9",
|
||||
"object": "charge",
|
||||
"created": 1373290882,
|
||||
"livemode": false,
|
||||
"paid": true,
|
||||
"amount": 4200,
|
||||
"currency": "gbp",
|
||||
"refunded": false,
|
||||
"fee": 152,
|
||||
"fee_details": [
|
||||
{
|
||||
"amount": 152,
|
||||
"currency": "gbp",
|
||||
"type": "stripe_fee",
|
||||
"description": "Stripe processing fees",
|
||||
"application": null,
|
||||
"amount_refunded": 0
|
||||
}
|
||||
],
|
||||
"card": {
|
||||
"object": "card",
|
||||
"last4": "4242",
|
||||
"type": "Visa",
|
||||
"exp_month": 5,
|
||||
"exp_year": 2015,
|
||||
"fingerprint": "o7bnpaR6swBKn5O7",
|
||||
"customer": null,
|
||||
"country": "US",
|
||||
"name": "John Doe",
|
||||
"address_line1": "",
|
||||
"address_line2": "",
|
||||
"address_city": "",
|
||||
"address_state": "",
|
||||
"address_zip": "",
|
||||
"address_country": "",
|
||||
"cvc_check": "pass",
|
||||
"address_line1_check": "pass",
|
||||
"address_zip_check": "pass"
|
||||
},
|
||||
"captured": true,
|
||||
"failure_message": null,
|
||||
"failure_code": null,
|
||||
"amount_refunded": 0,
|
||||
"customer": null,
|
||||
"invoice": null,
|
||||
"description": "A12BCD/2",
|
||||
"dispute": null
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Mock/ListCouponsSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Mock/ListCouponsSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 18:28:24 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "50_OFF",
|
||||
"object": "coupon",
|
||||
"amount_off": null,
|
||||
"created": 1593259732,
|
||||
"currency": null,
|
||||
"duration": "repeating",
|
||||
"duration_in_months": 3,
|
||||
"livemode": false,
|
||||
"max_redemptions": 10,
|
||||
"metadata": {},
|
||||
"name": "50% foo",
|
||||
"percent_off": 50.0,
|
||||
"redeem_by": 1606460031,
|
||||
"times_redeemed": 0,
|
||||
"valid": true
|
||||
},
|
||||
{
|
||||
"id": "50_OFF_2",
|
||||
"object": "coupon",
|
||||
"amount_off": null,
|
||||
"created": 1593245806,
|
||||
"currency": null,
|
||||
"duration": "repeating",
|
||||
"duration_in_months": 3,
|
||||
"livemode": false,
|
||||
"max_redemptions": 10,
|
||||
"metadata": {},
|
||||
"name": "50% off",
|
||||
"percent_off": 50.0,
|
||||
"redeem_by": 1606460031,
|
||||
"times_redeemed": 0,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"has_more": true,
|
||||
"url": "/v1/coupons"
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/ListInvoicesFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/ListInvoicesFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 29 Feb 2016 02:40:46 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Invalid API Key provided: sk_test_1234567890ABCDEFlfQ0"
|
||||
}
|
||||
}
|
||||
90
vendor/omnipay/stripe/tests/Mock/ListInvoicesSuccess.txt
vendored
Normal file
90
vendor/omnipay/stripe/tests/Mock/ListInvoicesSuccess.txt
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 29 Feb 2016 02:40:46 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"url": "/v1/invoices",
|
||||
"has_more": false,
|
||||
"data": [
|
||||
{
|
||||
"id": "in_17jdy72ikvKYlo2CjDuZLVWA",
|
||||
"object": "invoice",
|
||||
"amount_due": 100,
|
||||
"application_fee": null,
|
||||
"attempt_count": 1,
|
||||
"attempted": true,
|
||||
"charge": "ch_17jdy72eZ5uYlo2C0Uh43dwl",
|
||||
"closed": true,
|
||||
"currency": "usd",
|
||||
"customer": "cus_7zdKilofy4RbZk",
|
||||
"date": 1456702135,
|
||||
"description": null,
|
||||
"discount": null,
|
||||
"ending_balance": 0,
|
||||
"forgiven": false,
|
||||
"lines": {
|
||||
"data": [
|
||||
{
|
||||
"id": "sub_7zdKiioEviVBEr",
|
||||
"object": "line_item",
|
||||
"amount": 50,
|
||||
"currency": "usd",
|
||||
"description": null,
|
||||
"discountable": true,
|
||||
"livemode": true,
|
||||
"metadata": {
|
||||
},
|
||||
"period": {
|
||||
"start": 1459208116,
|
||||
"end": 1461886516
|
||||
},
|
||||
"plan": {
|
||||
"id": "basic_plan_1",
|
||||
"object": "plan",
|
||||
"amount": 50,
|
||||
"created": 1395968059,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"name": "Basic Plan",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"proration": false,
|
||||
"quantity": 1,
|
||||
"subscription": null,
|
||||
"type": "subscription"
|
||||
}
|
||||
],
|
||||
"total_count": 1,
|
||||
"object": "list",
|
||||
"url": "/v1/invoices/in_17jdy72eZvKYlo2CjDuZLVWA/lines"
|
||||
},
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"next_payment_attempt": null,
|
||||
"paid": true,
|
||||
"period_end": 1456702135,
|
||||
"period_start": 1456702135,
|
||||
"receipt_number": null,
|
||||
"starting_balance": 0,
|
||||
"statement_descriptor": null,
|
||||
"subscription": "sub_7zdEOXMTqKgzXW",
|
||||
"subtotal": 100,
|
||||
"tax": null,
|
||||
"tax_percent": null,
|
||||
"total": 100,
|
||||
"webhooks_delivered_at": 1456702141
|
||||
}
|
||||
]
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/ListInvoicesWithCustomerReferenceFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/ListInvoicesWithCustomerReferenceFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZSEtqSghKx99",
|
||||
"param": "customer"
|
||||
}
|
||||
}
|
||||
46
vendor/omnipay/stripe/tests/Mock/ListPlansSuccess.txt
vendored
Normal file
46
vendor/omnipay/stripe/tests/Mock/ListPlansSuccess.txt
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 29 Feb 2016 02:40:46 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"url": "/v1/plans",
|
||||
"has_more": false,
|
||||
"data": [
|
||||
{
|
||||
"id": "test-1",
|
||||
"object": "plan",
|
||||
"amount": 29995,
|
||||
"created": 1483391153,
|
||||
"currency": "usd",
|
||||
"interval": "year",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"name": "Test 1",
|
||||
"statement_descriptor": "Test 1",
|
||||
"trial_period_days": 14
|
||||
},
|
||||
{
|
||||
"id": "test-2",
|
||||
"object": "plan",
|
||||
"amount": 29995,
|
||||
"created": 1483391153,
|
||||
"currency": "usd",
|
||||
"interval": "year",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"name": "Test 1",
|
||||
"statement_descriptor": "Test 2",
|
||||
"trial_period_days": 14
|
||||
}
|
||||
]
|
||||
}
|
||||
18
vendor/omnipay/stripe/tests/Mock/PurchaseFailure.txt
vendored
Normal file
18
vendor/omnipay/stripe/tests/Mock/PurchaseFailure.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
HTTP/1.1 402 Payment Required
|
||||
Server: nginx
|
||||
Date: Fri, 15 Feb 2013 18:26:37 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 151
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
|
||||
{
|
||||
"error": {
|
||||
"message": "Your card was declined",
|
||||
"type": "card_error",
|
||||
"code": "card_declined",
|
||||
"charge": "ch_1IUAZQWFYrPooM"
|
||||
}
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/PurchaseFailureWithoutCode.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/PurchaseFailureWithoutCode.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 402 Payment Required
|
||||
Server: nginx
|
||||
Date: Fri, 15 Feb 2013 18:26:37 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 151
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
|
||||
{
|
||||
"error": {
|
||||
"message": "Your card was declined",
|
||||
"type": "card_error",
|
||||
"charge": "ch_1KGNWMAOUdAbbC"
|
||||
}
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/PurchaseFailureWithoutMessage.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/PurchaseFailureWithoutMessage.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 402 Payment Required
|
||||
Server: nginx
|
||||
Date: Fri, 15 Feb 2013 18:26:37 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 151
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "card_error",
|
||||
"code": "card_declined",
|
||||
"charge": "ch_1JEJGNWFYxAwgF"
|
||||
}
|
||||
}
|
||||
63
vendor/omnipay/stripe/tests/Mock/PurchaseSuccess.txt
vendored
Normal file
63
vendor/omnipay/stripe/tests/Mock/PurchaseSuccess.txt
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 15 Feb 2013 18:25:28 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 995
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Request-Id: req_8PDHeZazN2LwML
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
|
||||
{
|
||||
"id": "ch_1IU9gcUiNASROd",
|
||||
"object": "charge",
|
||||
"created": 1360952728,
|
||||
"livemode": false,
|
||||
"paid": true,
|
||||
"amount": 1000,
|
||||
"currency": "usd",
|
||||
"refunded": false,
|
||||
"fee": 59,
|
||||
"fee_details": [
|
||||
{
|
||||
"amount": 59,
|
||||
"currency": "usd",
|
||||
"type": "stripe_fee",
|
||||
"description": "Stripe processing fees",
|
||||
"application": null,
|
||||
"amount_refunded": 0
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"id": "card_16n3EU2baUhq7QENSrstkoN0",
|
||||
"object": "card",
|
||||
"address_city": "",
|
||||
"address_country": "",
|
||||
"address_line1": "",
|
||||
"address_line1_check": null,
|
||||
"address_line2": "",
|
||||
"address_state": "",
|
||||
"address_zip": "",
|
||||
"address_zip_check": null,
|
||||
"brand": "Visa",
|
||||
"country": "US",
|
||||
"customer": null,
|
||||
"cvc_check": "pass",
|
||||
"dynamic_last4": null,
|
||||
"exp_month": 6,
|
||||
"exp_year": 2016,
|
||||
"funding": "credit",
|
||||
"last4": "4242",
|
||||
"metadata": {
|
||||
},
|
||||
"name": "",
|
||||
"tokenization_method": null
|
||||
},
|
||||
"failure_message": null,
|
||||
"amount_refunded": 0,
|
||||
"customer": null,
|
||||
"invoice": null,
|
||||
"description": "first purchase",
|
||||
"dispute": null
|
||||
}
|
||||
40
vendor/omnipay/stripe/tests/Mock/PurchaseWithSourceSuccess.txt
vendored
Normal file
40
vendor/omnipay/stripe/tests/Mock/PurchaseWithSourceSuccess.txt
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Fri, 15 Feb 2013 18:25:28 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 995
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
|
||||
{
|
||||
"id": "ch_1IU9gcUiNASROd",
|
||||
"object": "charge",
|
||||
"created": 1360952728,
|
||||
"livemode": false,
|
||||
"paid": true,
|
||||
"amount": 1000,
|
||||
"currency": "usd",
|
||||
"refunded": false,
|
||||
"fee": 59,
|
||||
"fee_details": [
|
||||
{
|
||||
"amount": 59,
|
||||
"currency": "usd",
|
||||
"type": "stripe_fee",
|
||||
"description": "Stripe processing fees",
|
||||
"application": null,
|
||||
"amount_refunded": 0
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"id": "card_15WgqxIobxWFFmzdk5V9z3g9"
|
||||
},
|
||||
"failure_message": null,
|
||||
"amount_refunded": 0,
|
||||
"customer": null,
|
||||
"invoice": null,
|
||||
"description": "first purchase",
|
||||
"dispute": null
|
||||
}
|
||||
3
vendor/omnipay/stripe/tests/Mock/RefundFailure.txt
vendored
Normal file
3
vendor/omnipay/stripe/tests/Mock/RefundFailure.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
{"error":{"message":"Charge ch_12RgN9L7XhO9mI has already been refunded."}}
|
||||
3
vendor/omnipay/stripe/tests/Mock/RefundSuccess.txt
vendored
Normal file
3
vendor/omnipay/stripe/tests/Mock/RefundSuccess.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
{"id":"ch_12RgN9L7XhO9mI","object": "charge"}
|
||||
16
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferRequestFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferRequestFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
HTTP/1.1 402 Request Failed
|
||||
Server: nginx
|
||||
Date: Fri, 12 Feb 2016 20:48:09 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 115
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "insufficient_funds",
|
||||
"message": "Transfer does not have available funds"
|
||||
}
|
||||
}
|
||||
46
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferRequestSuccess.txt
vendored
Normal file
46
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferRequestSuccess.txt
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 01 Feb 2016 00:44:38 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 1818
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "tr_164xRv2eZvKYlo2CZxJZWm1E",
|
||||
"object": "transfer",
|
||||
"amount": 200,
|
||||
"amount_reversed": 100,
|
||||
"balance_transaction": "txn_19XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1432229235,
|
||||
"currency": "usd",
|
||||
"destination": "acct_164wxjKbnvuxQXGu",
|
||||
"destination_payment": "py_164xRvKbnvuxQXGuVFV2pZo1",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"reversals": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "trr_1AF3y32eZvKYlo2CtkDXeobp",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 100,
|
||||
"balance_transaction": "txn_1AF3y32eZvKYlo2CSgDInbEk",
|
||||
"created": 1493742915,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_164xRv2eZvKYlo2CZxJZWm1E"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/transfers/tr_164xRv2eZvKYlo2CZxJZWm1E/reversals"
|
||||
},
|
||||
"reversed": false,
|
||||
"source_transaction": "ch_164xRv2eZvKYlo2Clu1sIJWB",
|
||||
"source_type": "card",
|
||||
"transfer_group": "group_ch_164xRv2eZvKYlo2Clu1sIJWB"
|
||||
}
|
||||
20
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferReversalRequestSuccess.txt
vendored
Normal file
20
vendor/omnipay/stripe/tests/Mock/Transfers/CreateTransferReversalRequestSuccess.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 01 Feb 2016 00:44:38 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 1818
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "trr_1ARKQ22eZvKYlo2Cv5APdtKF",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 400,
|
||||
"balance_transaction": "txn_1ARKQ22eZvKYlo2C76jP3q3o",
|
||||
"created": 1496666090,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_1ARKPl2eZvKYlo2CsNTKWIOO"
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:16:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such transfer: tr_164xRv2eZvKYlo2CZxJZWm1E",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferReversalFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferReversalFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:16:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such transfer reversal: trr_1ARKQ22eZvKYlo2Cv5APdtKF",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
21
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferReversalSuccess.txt
vendored
Normal file
21
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferReversalSuccess.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "trr_1ARKQ22eZvKYlo2Cv5APdtKF",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 400,
|
||||
"balance_transaction": "txn_19XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1496666090,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_1ARKPl2eZvKYlo2CsNTKWIOO"
|
||||
}
|
||||
47
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferSuccess.txt
vendored
Normal file
47
vendor/omnipay/stripe/tests/Mock/Transfers/FetchTransferSuccess.txt
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Wed, 24 Jul 2013 07:14:02 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 1092
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "tr_164xRv2eZvKYlo2CZxJZWm1E",
|
||||
"object": "transfer",
|
||||
"amount": 200,
|
||||
"amount_reversed": 100,
|
||||
"balance_transaction": "txn_19XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1432229235,
|
||||
"currency": "usd",
|
||||
"destination": "acct_164wxjKbnvuxQXGu",
|
||||
"destination_payment": "py_164xRvKbnvuxQXGuVFV2pZo1",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"reversals": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "trr_1AF3y32eZvKYlo2CtkDXeobp",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 100,
|
||||
"balance_transaction": "txn_1AF3y32eZvKYlo2CSgDInbEk",
|
||||
"created": 1493742915,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_164xRv2eZvKYlo2CZxJZWm1E"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/transfers/tr_164xRv2eZvKYlo2CZxJZWm1E/reversals"
|
||||
},
|
||||
"reversed": false,
|
||||
"source_transaction": "ch_164xRv2eZvKYlo2Clu1sIJWB",
|
||||
"source_type": "card",
|
||||
"transfer_group": "group_ch_164xRv2eZvKYlo2Clu1sIJWB"
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransferReversalsFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransferReversalsFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:16:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such transfer: NOTFOUND",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
38
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransferReversalsSuccess.txt
vendored
Normal file
38
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransferReversalsSuccess.txt
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 29 Feb 2016 02:40:46 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"url": "/v1/transfers/tr_164xRv2eZvKYlo2CZxJZWm1E/reversals",
|
||||
"has_more": false,
|
||||
"data": [
|
||||
{
|
||||
"id": "trr_1ARKQ22eZvKYlo2Cv5APdtKF",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 400,
|
||||
"balance_transaction": "txn_19XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1496666090,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_1ARKPl2eZvKYlo2CsNTKWIOO"
|
||||
},
|
||||
{
|
||||
"id": "trr_2ARKQ22eZvKYlo2Cv5APdtKF",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 400,
|
||||
"balance_transaction": "txn_29XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1596666090,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_2ARKPl2eZvKYlo2CsNTKWIOO"
|
||||
}
|
||||
]
|
||||
}
|
||||
15
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransfersFailure.txt
vendored
Normal file
15
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransfersFailure.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Sun, 21 Feb 2016 21:16:02 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 143
|
||||
Connection: keep-alive
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such transfer group: NOTFOUND",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
90
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransfersSuccess.txt
vendored
Normal file
90
vendor/omnipay/stripe/tests/Mock/Transfers/ListTransfersSuccess.txt
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Mon, 29 Feb 2016 02:40:46 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 6247
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "list",
|
||||
"url": "/v1/transfers",
|
||||
"has_more": false,
|
||||
"data": [
|
||||
{
|
||||
"id": "tr_164xRv2eZvKYlo2CZxJZWm1E",
|
||||
"object": "transfer",
|
||||
"amount": 200,
|
||||
"amount_reversed": 100,
|
||||
"balance_transaction": "txn_19XJJ02eZvKYlo2ClwuJ1rbA",
|
||||
"created": 1432229235,
|
||||
"currency": "usd",
|
||||
"destination": "acct_164wxjKbnvuxQXGu",
|
||||
"destination_payment": "py_164xRvKbnvuxQXGuVFV2pZo1",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"reversals": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "trr_1AF3y32eZvKYlo2CtkDXeobp",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 100,
|
||||
"balance_transaction": "txn_1AF3y32eZvKYlo2CSgDInbEk",
|
||||
"created": 1493742915,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_164xRv2eZvKYlo2CZxJZWm1E"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/transfers/tr_164xRv2eZvKYlo2CZxJZWm1E/reversals"
|
||||
},
|
||||
"reversed": false,
|
||||
"source_transaction": "ch_164xRv2eZvKYlo2Clu1sIJWB",
|
||||
"source_type": "card",
|
||||
"transfer_group": "group_ch_164xRv2eZvKYlo2Clu1sIJWB"
|
||||
},
|
||||
{
|
||||
"id": "tr_164xRv2DKDJF832CZxJZWm1E",
|
||||
"object": "transfer",
|
||||
"amount": 250,
|
||||
"amount_reversed": 100,
|
||||
"balance_transaction": "txn_19XJJ02JDKDo2ClwuJ1rbA",
|
||||
"created": 1432429235,
|
||||
"currency": "usd",
|
||||
"destination": "acct_164wxjKbnvuxQXGu",
|
||||
"destination_payment": "py_164xRvKbnvuxKDUD3dVFV2pZo1",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"reversals": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "trr_1AF3KDjdkddeZvKYlo2CtkDXeobp",
|
||||
"object": "transfer_reversal",
|
||||
"amount": 100,
|
||||
"balance_transaction": "txn_DF8d3y32eZvKYlo2CSgDInbEk",
|
||||
"created": 1492429235,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"transfer": "tr_164xRv2DKDJF832CZxJZWm1E"
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/transfers/tr_164xRv2DKDJF832CZxJZWm1E/reversals"
|
||||
},
|
||||
"reversed": false,
|
||||
"source_transaction": "ch_264xDJD83ZvKYlo2Clu1sIJWB",
|
||||
"source_type": "card",
|
||||
"transfer_group": "group_ch_264xRv2eZvKYlo2Clu1sIJWB"
|
||||
}
|
||||
]
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/UpdateCardFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/UpdateCardFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZeNih5LdKxDq",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
23
vendor/omnipay/stripe/tests/Mock/UpdateCardSuccess.txt
vendored
Normal file
23
vendor/omnipay/stripe/tests/Mock/UpdateCardSuccess.txt
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:11:12 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 694
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "customer",
|
||||
"created": 1365771516,
|
||||
"id": "cus_1MZeNih5LdKxDq",
|
||||
"livemode": false,
|
||||
"description": "fdsa",
|
||||
"active_card": null,
|
||||
"email": null,
|
||||
"delinquent": false,
|
||||
"subscription": null,
|
||||
"discount": null,
|
||||
"account_balance": 0
|
||||
}
|
||||
18
vendor/omnipay/stripe/tests/Mock/UpdateCouponFailure.txt
vendored
Normal file
18
vendor/omnipay/stripe/tests/Mock/UpdateCouponFailure.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Fri, 11 Feb 2016 19:23:31 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 96
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such coupon: 50_OFF",
|
||||
"param": "coupon",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
26
vendor/omnipay/stripe/tests/Mock/UpdateCouponSuccess.txt
vendored
Normal file
26
vendor/omnipay/stripe/tests/Mock/UpdateCouponSuccess.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sat, 27 Jun 2020 10:05:26 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 281
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "50_OFF",
|
||||
"object": "coupon",
|
||||
"amount_off": null,
|
||||
"created": 1593259732,
|
||||
"currency": null,
|
||||
"duration": "repeating",
|
||||
"duration_in_months": 3,
|
||||
"livemode": false,
|
||||
"max_redemptions": 10,
|
||||
"metadata": {},
|
||||
"name": "50% Discount",
|
||||
"percent_off": 50.0,
|
||||
"redeem_by": 1606460031,
|
||||
"times_redeemed": 0,
|
||||
"valid": true
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/UpdateCustomerFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/UpdateCustomerFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:32:51 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 131
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "No such customer: cus_1MZeNih5LdKxDq",
|
||||
"param": "id"
|
||||
}
|
||||
}
|
||||
23
vendor/omnipay/stripe/tests/Mock/UpdateCustomerSuccess.txt
vendored
Normal file
23
vendor/omnipay/stripe/tests/Mock/UpdateCustomerSuccess.txt
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Tue, 26 Feb 2013 16:11:12 GMT
|
||||
Content-Type: application/json;charset=utf-8
|
||||
Content-Length: 694
|
||||
Connection: keep-alive
|
||||
Access-Control-Max-Age: 300
|
||||
Access-Control-Allow-Credentials: true
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"object": "customer",
|
||||
"created": 1365771516,
|
||||
"id": "cus_1MZeNih5LdKxDq",
|
||||
"livemode": false,
|
||||
"description": "fdsa",
|
||||
"active_card": null,
|
||||
"email": null,
|
||||
"delinquent": false,
|
||||
"subscription": null,
|
||||
"discount": null,
|
||||
"account_balance": 0
|
||||
}
|
||||
17
vendor/omnipay/stripe/tests/Mock/UpdateSubscriptionFailure.txt
vendored
Normal file
17
vendor/omnipay/stripe/tests/Mock/UpdateSubscriptionFailure.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
Server: nginx
|
||||
Date: Sun, 14 Feb 2016 23:05:08 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 188
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"error": {
|
||||
"type": "invalid_request_error",
|
||||
"message": "Customer cus_7lqqgOm33t4xSU does not have a subscription with ID sub_7uNSBwlTzGjYWw",
|
||||
"param": "subscription"
|
||||
}
|
||||
}
|
||||
43
vendor/omnipay/stripe/tests/Mock/UpdateSubscriptionSuccess.txt
vendored
Normal file
43
vendor/omnipay/stripe/tests/Mock/UpdateSubscriptionSuccess.txt
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
HTTP/1.1 200 OK
|
||||
Server: nginx
|
||||
Date: Sun, 14 Feb 2016 23:07:23 GMT
|
||||
Content-Type: application/json
|
||||
Content-Length: 784
|
||||
Connection: keep-alive
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Max-Age: 300
|
||||
Cache-Control: no-cache, no-store
|
||||
|
||||
{
|
||||
"id": "sub_7uNSBwlTzGjYWw",
|
||||
"object": "subscription",
|
||||
"application_fee_percent": null,
|
||||
"cancel_at_period_end": false,
|
||||
"canceled_at": null,
|
||||
"current_period_end": 1456700778,
|
||||
"current_period_start": 1455491178,
|
||||
"customer": "cus_7lqqgOm33t4xSU",
|
||||
"discount": null,
|
||||
"ended_at": null,
|
||||
"metadata": {},
|
||||
"plan": {
|
||||
"id": "basic",
|
||||
"object": "plan",
|
||||
"amount": 500,
|
||||
"created": 1455313398,
|
||||
"currency": "usd",
|
||||
"interval": "month",
|
||||
"interval_count": 1,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"name": "Basic",
|
||||
"statement_descriptor": null,
|
||||
"trial_period_days": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"start": 1455491178,
|
||||
"status": "active",
|
||||
"tax_percent": null,
|
||||
"trial_end": null,
|
||||
"trial_start": null
|
||||
}
|
||||
3
vendor/omnipay/stripe/tests/Mock/VoidFailure.txt
vendored
Normal file
3
vendor/omnipay/stripe/tests/Mock/VoidFailure.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
{"error":{"message":"Charge ch_12RgN9L7XhO9mI has already been refunded."}}
|
||||
3
vendor/omnipay/stripe/tests/Mock/VoidSuccess.txt
vendored
Normal file
3
vendor/omnipay/stripe/tests/Mock/VoidSuccess.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
{"id":"ch_12RgN9L7XhO9mI","object": "charge"}
|
||||
Reference in New Issue
Block a user