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/Message/PaymentIntents/Mock/AttachPaymentMethodFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AttachPaymentMethodFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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": "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AttachPaymentMethodSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AttachPaymentMethodSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
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": "pm_1EUon32Tb35ankTnF6nuoRVE",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": null,
|
||||
"name": null,
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": null
|
||||
},
|
||||
"country": "US",
|
||||
"exp_month": 8,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "9OyiQNfcCMaD1b7P",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "4242",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1556603165,
|
||||
"customer": "cus_3f2EpMK2kPm90g",
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"type": "card"
|
||||
}
|
||||
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AuthorizeFailure.txt
vendored
Normal file
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AuthorizeFailure.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
server: nginx
|
||||
date: Thu, 11 Jul 2019 08:46:44 GMT
|
||||
content-type: application/json
|
||||
content-length: 247
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_IznB7F29VYnxZj
|
||||
stripe-version: 2019-03-14
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such payment_method: pm_invalid_method",
|
||||
"param": "payment_method",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
60
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AuthorizeSuccess.txt
vendored
Normal file
60
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/AuthorizeSuccess.txt
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
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": "pi_1Euf5UFSbr6xR4YAp9PPTxza",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Euf5UFSbr6xR4YAp9PPTxza"
|
||||
},
|
||||
"client_secret": "pi_1Euf5UFSbr6xR4YAp9PPTxza_secret_QjDdAp77yVbiJoyJ92mXx76F7",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562762396,
|
||||
"currency": "usd",
|
||||
"customer": "cus_F1UMEEnT2OBgMg",
|
||||
"description": "Order #153",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "153",
|
||||
"order_number": "d1defe5bbef31c3472b06d3c8c723baf",
|
||||
"transaction_reference": "386b931a5e2bdb0a216749d488367b94",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1Euf5RFSbr6xR4YAwZ5fP28B",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_confirmation",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
80
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CancelPaymentIntentFailure.txt
vendored
Normal file
80
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CancelPaymentIntentFailure.txt
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
server: nginx
|
||||
date: Wed, 07 Aug 2019 01:29:44 GMT
|
||||
content-type: application/json
|
||||
content-length: 2005
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_W9rdDlUahgd6iC
|
||||
stripe-version: 2018-05-21
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "payment_intent_unexpected_state",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-unexpected-state",
|
||||
"message": "You cannot cancel this PaymentIntent because it has a status of canceled. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action.",
|
||||
"payment_intent": {
|
||||
"id": "pi_1Evf5q2okp6n5dKoviPU2IkK",
|
||||
"object": "payment_intent",
|
||||
"allowed_source_types": [
|
||||
"card"
|
||||
],
|
||||
"amount": 1099,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": 1565141374,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "automatic",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/charges?payment_intent=pi_1Evf5q2okp6n5dKoviPU2IkK"
|
||||
},
|
||||
"client_secret": "pi_1Evf5q2okp6n5dKoviPU2IkK_secret_uXzcxJ2um6t790XAokzr2HsTN",
|
||||
"confirmation_method": "automatic",
|
||||
"created": 1563000746,
|
||||
"currency": "aud",
|
||||
"customer": null,
|
||||
"description": null,
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"next_action": null,
|
||||
"next_source_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": null,
|
||||
"payment_method_options": {
|
||||
"card": {
|
||||
"request_three_d_secure": "automatic"
|
||||
}
|
||||
},
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": "off_session",
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"statement_descriptor_suffix": null,
|
||||
"status": "canceled",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
},
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
182
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CancelPaymentIntentSuccess.txt
vendored
Normal file
182
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CancelPaymentIntentSuccess.txt
vendored
Normal file
@@ -0,0 +1,182 @@
|
||||
HTTP/1.1 200 OK
|
||||
server: nginx
|
||||
date: Wed, 07 Aug 2019 04:08:43 GMT
|
||||
content-type: application/json
|
||||
content-length: 4790
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_pDQDQOBBz7ipht
|
||||
stripe-version: 2018-05-21
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"id": "pi_1F4Oq22okp6n5dKoErGka6we",
|
||||
"object": "payment_intent",
|
||||
"allowed_source_types": [
|
||||
"card"
|
||||
],
|
||||
"amount": 52510,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": 1565150923,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "ch_1F4OqH2okp6n5dKoWlN61H9w",
|
||||
"object": "charge",
|
||||
"amount": 52510,
|
||||
"amount_refunded": 52510,
|
||||
"application": null,
|
||||
"application_fee": null,
|
||||
"application_fee_amount": null,
|
||||
"balance_transaction": null,
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": "New York",
|
||||
"country": "US",
|
||||
"line1": "325 Broadway",
|
||||
"line2": null,
|
||||
"postal_code": "10007",
|
||||
"state": "New York"
|
||||
},
|
||||
"email": null,
|
||||
"name": "Jack Beanstalk",
|
||||
"phone": null
|
||||
},
|
||||
"captured": false,
|
||||
"created": 1565083229,
|
||||
"currency": "usd",
|
||||
"customer": "cus_FZXvpeIdgVYdmq",
|
||||
"description": null,
|
||||
"destination": null,
|
||||
"dispute": null,
|
||||
"failure_code": null,
|
||||
"failure_message": null,
|
||||
"fraud_details": {
|
||||
},
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"order": null,
|
||||
"outcome": {
|
||||
"network_status": "approved_by_network",
|
||||
"reason": null,
|
||||
"risk_level": "normal",
|
||||
"risk_score": 1,
|
||||
"seller_message": "Payment complete.",
|
||||
"type": "authorized"
|
||||
},
|
||||
"paid": true,
|
||||
"payment_intent": "pi_1F4Oq22okp6n5dKoErGka6we",
|
||||
"payment_method": "pm_1F4Oq02okp6n5dKoKfHmMyJN",
|
||||
"payment_method_details": {
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": "pass",
|
||||
"address_postal_code_check": "pass",
|
||||
"cvc_check": "pass"
|
||||
},
|
||||
"country": null,
|
||||
"exp_month": 2,
|
||||
"exp_year": 2022,
|
||||
"fingerprint": "TfHYiz2pR4RQdLsw",
|
||||
"funding": "credit",
|
||||
"last4": "3220",
|
||||
"three_d_secure": {
|
||||
"authenticated": true,
|
||||
"succeeded": true,
|
||||
"version": "2.1.0"
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"type": "card"
|
||||
},
|
||||
"receipt_email": null,
|
||||
"receipt_number": null,
|
||||
"receipt_url": "redacted",
|
||||
"refunded": true,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "re_1F4gS62okp6n5dKoWNSLVaLS",
|
||||
"object": "refund",
|
||||
"amount": 52510,
|
||||
"balance_transaction": null,
|
||||
"charge": "ch_1F4OqH2okp6n5dKoWlN61H9w",
|
||||
"created": 1565150922,
|
||||
"currency": "usd",
|
||||
"metadata": {
|
||||
},
|
||||
"reason": null,
|
||||
"receipt_number": null,
|
||||
"source_transfer_reversal": null,
|
||||
"status": "succeeded",
|
||||
"transfer_reversal": null
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/charges/ch_1F4OqH2okp7n5dKoWlN61H9w/refunds"
|
||||
},
|
||||
"review": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"source_transfer": null,
|
||||
"statement_descriptor": null,
|
||||
"statement_descriptor_suffix": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/charges?payment_intent=pi_1F4Oq22okp6n5dKoErGka6we"
|
||||
},
|
||||
"client_secret": "pi_1F4Oq22okp6n5dKoErGka68e_secret_rUBo6oC0Tvx1V12QBZMimJrCS",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1565083214,
|
||||
"currency": "usd",
|
||||
"customer": "cus_FZXvpeIdgVYdmq",
|
||||
"description": null,
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"next_action": null,
|
||||
"next_source_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1F4Oq02okp6n5dKoKfHmMyJN",
|
||||
"payment_method_options": {
|
||||
"card": {
|
||||
"request_three_d_secure": "automatic"
|
||||
}
|
||||
},
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": "on_session",
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"statement_descriptor_suffix": null,
|
||||
"status": "canceled",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
23
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CaptureFailure.txt
vendored
Normal file
23
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CaptureFailure.txt
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
server: nginx
|
||||
date: Thu, 11 Jul 2019 08:46:44 GMT
|
||||
content-type: application/json
|
||||
content-length: 247
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_IznB7F29VYnxZj
|
||||
stripe-version: 2019-03-14
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "payment_intent_unexpected_state",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-unexpected-state",
|
||||
"message": "This PaymentIntent could not be captured because it has already been captured.",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
170
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CaptureSuccess.txt
vendored
Normal file
170
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CaptureSuccess.txt
vendored
Normal file
@@ -0,0 +1,170 @@
|
||||
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": "pi_1EUon22Tb35ankTnMW9GNjSh",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 8000,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "ch_1EZvfwFSbr6xR4YAWulsIcYV",
|
||||
"object": "charge",
|
||||
"amount": 8000,
|
||||
"amount_refunded": 2000,
|
||||
"application": null,
|
||||
"application_fee": null,
|
||||
"application_fee_amount": null,
|
||||
"balance_transaction": "txn_1EZvjKFSbr6xR4YAvqraMGP8",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": "New York",
|
||||
"country": "United States"
|
||||
},
|
||||
"email": "some@person.com",
|
||||
"name": "Jeff Bridge",
|
||||
"phone": null
|
||||
},
|
||||
"captured": true,
|
||||
"created": 1557821272,
|
||||
"currency": "usd",
|
||||
"customer": "cus_F1UMEEnT2OBgMg",
|
||||
"description": "Order #69",
|
||||
"destination": null,
|
||||
"dispute": null,
|
||||
"failure_code": null,
|
||||
"failure_message": null,
|
||||
"fraud_details": {},
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "69",
|
||||
"order_number": "47eae2af9d6f75b51e7111e27a43617b",
|
||||
"transaction_reference": "8e914cb212f2e4c2a83e280d8b99488a",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"order": null,
|
||||
"outcome": {
|
||||
"network_status": "approved_by_network",
|
||||
"reason": null,
|
||||
"risk_level": "normal",
|
||||
"risk_score": 38,
|
||||
"rule": "allow_if_3ds_authenticated_liability_shift",
|
||||
"seller_message": "Payment complete.",
|
||||
"type": "authorized"
|
||||
},
|
||||
"paid": true,
|
||||
"payment_intent": "pi_1EUon22Tb35ankTnMW9GNjSh",
|
||||
"payment_method": "pm_1EZvfYFSbr6xR4YAGMpD5hNj",
|
||||
"payment_method_details": {
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": "pass",
|
||||
"address_postal_code_check": "pass",
|
||||
"cvc_check": "pass"
|
||||
},
|
||||
"country": "IE",
|
||||
"exp_month": 12,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "TLkivWVGoP3a2M2U",
|
||||
"funding": "credit",
|
||||
"last4": "3220",
|
||||
"three_d_secure": {
|
||||
"authenticated": true,
|
||||
"succeeded": true,
|
||||
"version": "2.1.0"
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"type": "card"
|
||||
},
|
||||
"receipt_email": null,
|
||||
"receipt_number": null,
|
||||
"receipt_url": "https://pay.stripe.com/receipts/acct_1AjnbxFSbr6xR4YA/ch_1EZvfwFSbr6xR4YAWulsIcYV/rcpt_F43njL6DofvVuE7tlNDARemskoCJxff",
|
||||
"refunded": false,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "re_1EZvjaFSbr6xR4YAbdaX3k3R",
|
||||
"object": "refund",
|
||||
"amount": 2000,
|
||||
"balance_transaction": "txn_1EZvjaFSbr6xR4YAtzwsSxhk",
|
||||
"charge": "ch_1EZvfwFSbr6xR4YAWulsIcYV",
|
||||
"created": 1557821498,
|
||||
"currency": "usd",
|
||||
"metadata": {},
|
||||
"reason": null,
|
||||
"receipt_number": null,
|
||||
"source_transfer_reversal": null,
|
||||
"status": "succeeded",
|
||||
"transfer_reversal": null
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/charges/ch_1EZvfwFSbr6xR4YAWulsIcYV/refunds"
|
||||
},
|
||||
"review": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"source_transfer": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/charges?payment_intent=pi_1EUon22Tb35ankTnMW9GNjSh"
|
||||
},
|
||||
"client_secret": "pi_1EUon22Tb35ankTnMW9GNjSh_secret_kxK3CBky2Uex0ctbsFxbokHyu",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1557821043,
|
||||
"currency": "usd",
|
||||
"customer": "cus_F1UMEEnT2OBgMg",
|
||||
"description": "Order #69",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "69",
|
||||
"order_number": "47eae2af9d6f75b51e7111e27a43617b",
|
||||
"transaction_reference": "8e914cb212f2e4c2a83e280d8b99488a",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1EZvfYFSbr6xR4YAGMpD5hNj",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
65
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntent3dsRedirect.txt
vendored
Normal file
65
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntent3dsRedirect.txt
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
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": "pi_1Ev1M1FSbr6xR4YAgJIBBVX0",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Ev1M1FSbr6xR4YAgJIBBVX0"
|
||||
},
|
||||
"client_secret": "pi_1Ev1M1FSbr6xR4YAgJIBBVX0_secret_MfGgtbEAM6GZ4JyquqbC09FXC",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562847989,
|
||||
"currency": "usd",
|
||||
"customer": "cus_Q8sHn93nAzgdn1",
|
||||
"description": "Order #184",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "184",
|
||||
"order_number": "fd17b4d8d756814bc6a258ba578fc359",
|
||||
"transaction_reference": "939185d93ad0634402cbe45b833e7428",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": {
|
||||
"redirect_to_url": {
|
||||
"return_url": "http:\/\/this-is-a-test-site.test\/complete-payment?foo=bar",
|
||||
"url": "https:\/\/hooks.stripe.com\/3d_secure_2_eap\/begin_test\/src_1Ev1M5FSbr6xR4YAg5qdBN6B\/src_client_secret_FPr4a6wAiVNi6YrnuI7vah6H"
|
||||
},
|
||||
"type": "redirect_to_url"
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1Ev1LzFSbr6xR4YA0TZ8jta0",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_action",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
65
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntentMissingRedirect.txt
vendored
Normal file
65
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntentMissingRedirect.txt
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
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": "pi_1Ev1CeFSbr6xR4YAbVhiBUv0",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Ev1CeFSbr6xR4YAbVhiBUv0"
|
||||
},
|
||||
"client_secret": "pi_1Ev1CeFSbr6xR4YAbVhiBUv0_secret_E8pK2lfYBh00cUEPMuTUrrqqR",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562847408,
|
||||
"currency": "usd",
|
||||
"customer": null,
|
||||
"description": "Order #184",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "184",
|
||||
"order_number": "fd17b4d8d756814bc6a258ba578fc359",
|
||||
"transaction_reference": "9d60ca0be3cc29276ddd5462be1d07a3",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": {
|
||||
"type": "use_stripe_sdk",
|
||||
"use_stripe_sdk": {
|
||||
"type": "three_d_secure_redirect",
|
||||
"stripe_js": "https:\/\/hooks.stripe.com\/3d_secure_2_eap\/begin_test\/src_1Ev1CiFSbr6xR4YAAz2cQKVv\/src_client_secret_FPquGxLPzcJz5ToIUwtRRsO3"
|
||||
}
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1Ev1CcFSbr6xR4YAuKuJgwEs",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_action",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
150
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntentSuccess.txt
vendored
Normal file
150
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/ConfirmIntentSuccess.txt
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
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": "pi_1Ev0a2FSbr6xR4YAsGQmFF0X",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 8000,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [{
|
||||
"id": "ch_1Ev0a3FSbr6xR4YApjrlyFGi",
|
||||
"object": "charge",
|
||||
"amount": 8000,
|
||||
"amount_refunded": 0,
|
||||
"application": null,
|
||||
"application_fee": null,
|
||||
"application_fee_amount": null,
|
||||
"balance_transaction": null,
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": "somebody@somewhere.net",
|
||||
"name": "Jack Beanstalk",
|
||||
"phone": null
|
||||
},
|
||||
"captured": false,
|
||||
"created": 1562845015,
|
||||
"currency": "usd",
|
||||
"customer": null,
|
||||
"description": "Order #182",
|
||||
"destination": null,
|
||||
"dispute": null,
|
||||
"failure_code": null,
|
||||
"failure_message": null,
|
||||
"fraud_details": [],
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "182",
|
||||
"order_number": "936dd9e6904c4bb2a8f65837d1d6403c",
|
||||
"transaction_reference": "09f0cd14d0594e76ca53b78e98f80414",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"order": null,
|
||||
"outcome": {
|
||||
"network_status": "approved_by_network",
|
||||
"reason": null,
|
||||
"risk_level": "normal",
|
||||
"risk_score": 17,
|
||||
"seller_message": "Payment complete.",
|
||||
"type": "authorized"
|
||||
},
|
||||
"paid": true,
|
||||
"payment_intent": "pi_1Ev0a2FSbr6xR4YAsGQmFF0X",
|
||||
"payment_method": "pm_1Ev0ZyFSbr6xR4YAX3vLBqEC",
|
||||
"payment_method_details": {
|
||||
"card": {
|
||||
"brand": "amex",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": "pass"
|
||||
},
|
||||
"country": "US",
|
||||
"exp_month": 12,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "fHKFepx6M3kreij5",
|
||||
"funding": "credit",
|
||||
"last4": "0005",
|
||||
"three_d_secure": null,
|
||||
"wallet": null
|
||||
},
|
||||
"type": "card"
|
||||
},
|
||||
"receipt_email": null,
|
||||
"receipt_number": null,
|
||||
"receipt_url": "https:\/\/pay.stripe.com\/receipts\/acct_1AjnbxFSbr6xR4YA\/ch_1Ev0a3FSbr6xR4YApjrlyFGi\/rcpt_FPqGKvHPhVfeinM9z4h2lTp3LleIV3c",
|
||||
"refunded": false,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges\/ch_1Ev0a3FSbr6xR4YApjrlyFGi\/refunds"
|
||||
},
|
||||
"review": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"source_transfer": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Ev0a2FSbr6xR4YAsGQmFF0X"
|
||||
},
|
||||
"client_secret": "pi_1Ev0a2FSbr6xR4YAsGQmFF0X_secret_CWVHEZ8cOk21GTABOjWHBYLt0",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562845014,
|
||||
"currency": "usd",
|
||||
"customer": null,
|
||||
"description": "Order #182",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "182",
|
||||
"order_number": "936dd9e6904c4bb2a8f65837d1d6403c",
|
||||
"transaction_reference": "09f0cd14d0594e76ca53b78e98f80414",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1Ev0ZyFSbr6xR4YAX3vLBqEC",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_capture",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
19
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CreatePaymentMethodFailure.txt
vendored
Normal file
19
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CreatePaymentMethodFailure.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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": {
|
||||
"code": "parameter_invalid_integer",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-integer",
|
||||
"message": "Invalid integer: xyz",
|
||||
"param": "card[exp_year]",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CreatePaymentMethodSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/CreatePaymentMethodSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
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": "pm_1EUon32Tb35ankTnF6nuoRVE",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": null,
|
||||
"name": null,
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": null
|
||||
},
|
||||
"country": "US",
|
||||
"exp_month": 8,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "9OyiQNfcCMaD1b7P",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "4242",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1556603165,
|
||||
"customer": null,
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"type": "card"
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/DetachPaymentMethodFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/DetachPaymentMethodFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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": "The payment method you provided is not attached to a customer so detachment is impossible.",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/DetachPaymentMethodSuccess.txt
vendored
Normal file
50
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/DetachPaymentMethodSuccess.txt
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
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": "pm_1EUon32Tb35ankTnF6nuoRVE",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": null,
|
||||
"name": null,
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": null
|
||||
},
|
||||
"country": "US",
|
||||
"exp_month": 8,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "9OyiQNfcCMaD1b7P",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "4242",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1556603165,
|
||||
"customer": "cus_3f2EpMK2kPm90g",
|
||||
"livemode": false,
|
||||
"metadata": {},
|
||||
"type": "card"
|
||||
}
|
||||
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentFailure.txt
vendored
Normal file
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentFailure.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
HTTP/1.1 400 Bad Request
|
||||
server: nginx
|
||||
date: Thu, 11 Jul 2019 08:46:44 GMT
|
||||
content-type: application/json
|
||||
content-length: 247
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_IznB7F29VYnxZj
|
||||
stripe-version: 2019-03-14
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such payment_intent: pi_1EUon12Tb35ankTnZyvC3sSdE",
|
||||
"param": "intent",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
105
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentPaymentMethodRequired.txt
vendored
Normal file
105
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentPaymentMethodRequired.txt
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
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": "pi_1Ev1ZFFSbr6xR4YAlcdtdqGH",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Ev1ZFFSbr6xR4YAlcdtdqGH"
|
||||
},
|
||||
"client_secret": "pi_1Ev1ZFFSbr6xR4YAlcdtdqGH_secret_dpqra3YEDAA6JTVQdyZj8us0Q",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562848809,
|
||||
"currency": "usd",
|
||||
"customer": null,
|
||||
"description": "Order #184",
|
||||
"invoice": null,
|
||||
"last_payment_error": {
|
||||
"code": "payment_intent_authentication_failure",
|
||||
"doc_url": "https:\/\/stripe.com\/docs\/error-codes\/payment-intent-authentication-failure",
|
||||
"message": "The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.",
|
||||
"payment_method": {
|
||||
"id": "pm_1Ev1ZCFSbr6xR4YA2vAxx9L7",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": "some@email.com",
|
||||
"name": "Just Guy",
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": "unchecked"
|
||||
},
|
||||
"country": "IE",
|
||||
"exp_month": 12,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "TLkivWVGoP3a2M2U",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "3220",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1562848806,
|
||||
"customer": null,
|
||||
"livemode": false,
|
||||
"metadata": [],
|
||||
"type": "card"
|
||||
},
|
||||
"type": "invalid_request_error"
|
||||
},
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "184",
|
||||
"order_number": "fd17b4d8d756814bc6a258ba578fc359",
|
||||
"transaction_reference": "4a846a6e34639f22926e14e283ff8f90",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": null,
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_payment_method",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
59
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentReadyToConfirm.txt
vendored
Normal file
59
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchIntentReadyToConfirm.txt
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
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": "pi_1Ev1ezFSbr6xR4YAtM76y2kZ",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 0,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "manual",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "\/v1\/charges?payment_intent=pi_1Ev1ezFSbr6xR4YAtM76y2kZ"
|
||||
},
|
||||
"client_secret": "pi_1Ev1ezFSbr6xR4YAtM76y2kZ_secret_1LNKABAbQzLv0PLghVQ9KzLtJ",
|
||||
"confirmation_method": "manual",
|
||||
"created": 1562849165,
|
||||
"currency": "usd",
|
||||
"customer": null,
|
||||
"description": "Order #184",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "184",
|
||||
"order_number": "fd17b4d8d756814bc6a258ba578fc359",
|
||||
"transaction_reference": "4bd4f322cf005e954c78194633b58b0b",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1Ev1ewFSbr6xR4YAM7H9IPu8",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"setup_future_usage": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "requires_confirmation",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchPaymentMethodFailure.txt
vendored
Normal file
24
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchPaymentMethodFailure.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
server: nginx
|
||||
date: Fri, 09 Aug 2019 00:23:41 GMT
|
||||
content-type: application/json
|
||||
content-length: 261
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_CCSqQgjNH68hv0
|
||||
stripe-version: 2018-05-21
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"error": {
|
||||
"code": "resource_missing",
|
||||
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
|
||||
"message": "No such payment_method: pm_1F52R22okp6n5dKoGSAKgKUX",
|
||||
"param": "payment_method",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
57
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchPaymentMethodSuccess.txt
vendored
Normal file
57
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/FetchPaymentMethodSuccess.txt
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
HTTP/1.1 200 OK
|
||||
server: nginx
|
||||
date: Fri, 09 Aug 2019 00:14:56 GMT
|
||||
content-type: application/json
|
||||
content-length: 906
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: GET, POST, HEAD, OPTIONS, DELETE
|
||||
access-control-allow-origin: *
|
||||
access-control-expose-headers: Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||||
access-control-max-age: 300
|
||||
cache-control: no-cache, no-store
|
||||
request-id: req_uy4QJE6oEIHUFv
|
||||
stripe-version: 2018-05-21
|
||||
strict-transport-security: max-age=31556926; includeSubDomains; preload
|
||||
|
||||
{
|
||||
"id": "pm_1F55vt2okp6n5dXo2WxJfirJ",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": "New Alessia",
|
||||
"country": "AU",
|
||||
"line1": "679 Berge Course",
|
||||
"line2": null,
|
||||
"postal_code": "50762-1465",
|
||||
"state": "Alabama"
|
||||
},
|
||||
"email": "user@stripe.com",
|
||||
"name": "Jack Beanstalk",
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": "pass",
|
||||
"address_postal_code_check": "pass",
|
||||
"cvc_check": "pass"
|
||||
},
|
||||
"country": "AU",
|
||||
"exp_month": 2,
|
||||
"exp_year": 2022,
|
||||
"fingerprint": "bTL1Ce0N4U41rp8s",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "0006",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1565248870,
|
||||
"customer": "cus_FaCqpKDSJvFSsC",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
},
|
||||
"type": "card"
|
||||
}
|
||||
155
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/PurchaseSuccess.txt
vendored
Normal file
155
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/PurchaseSuccess.txt
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
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": "pi_1EW0FmFSbr6xR4YAvECSRCv2",
|
||||
"object": "payment_intent",
|
||||
"amount": 8000,
|
||||
"amount_capturable": 0,
|
||||
"amount_received": 8000,
|
||||
"application": null,
|
||||
"application_fee_amount": null,
|
||||
"canceled_at": null,
|
||||
"cancellation_reason": null,
|
||||
"capture_method": "automatic",
|
||||
"charges": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "ch_1EW0FmFSbr6xR4YAZyURWxQe",
|
||||
"object": "charge",
|
||||
"amount": 8000,
|
||||
"amount_refunded": 0,
|
||||
"application": null,
|
||||
"application_fee": null,
|
||||
"application_fee_amount": null,
|
||||
"balance_transaction": "txn_1EW0FnFSbr6xR4YAOVasO6Eu",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": "Riga",
|
||||
"country": "United States",
|
||||
"line1": "GARRISON DRIVE 60837",
|
||||
"line2": null,
|
||||
"postal_code": "97702",
|
||||
"state": null
|
||||
},
|
||||
"email": "andris@shift.lv",
|
||||
"name": "Janice Friend",
|
||||
"phone": null
|
||||
},
|
||||
"captured": true,
|
||||
"created": 1556885558,
|
||||
"currency": "usd",
|
||||
"customer": "cus_F0026biLhRIcO9",
|
||||
"description": "Order #34",
|
||||
"destination": null,
|
||||
"dispute": null,
|
||||
"failure_code": null,
|
||||
"failure_message": null,
|
||||
"fraud_details": {
|
||||
},
|
||||
"invoice": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "34",
|
||||
"order_number": "aaefd8ec96095c47ed0c665666c3c768",
|
||||
"transaction_reference": "84aaac664c7048000146d3a88b5f0081",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"on_behalf_of": null,
|
||||
"order": null,
|
||||
"outcome": {
|
||||
"network_status": "approved_by_network",
|
||||
"reason": null,
|
||||
"risk_level": "normal",
|
||||
"risk_score": 21,
|
||||
"seller_message": "Payment complete.",
|
||||
"type": "authorized"
|
||||
},
|
||||
"paid": true,
|
||||
"payment_intent": "pi_1EW0FmFSbr6xR4YAvECSRCv2",
|
||||
"payment_method": "pm_1EW0FPFSbr6xR4YAZOSMHIOE",
|
||||
"payment_method_details": {
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": "pass",
|
||||
"address_postal_code_check": "pass",
|
||||
"cvc_check": "pass"
|
||||
},
|
||||
"country": "US",
|
||||
"description": "Visa Classic",
|
||||
"exp_month": 12,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "ZpBtWK0wNH3oi8mw",
|
||||
"funding": "credit",
|
||||
"last4": "4242",
|
||||
"three_d_secure": null,
|
||||
"wallet": null
|
||||
},
|
||||
"type": "card"
|
||||
},
|
||||
"receipt_email": null,
|
||||
"receipt_number": null,
|
||||
"receipt_url": "https://pay.stripe.com/receipts/acct_1AjnbxFSbr6xR4YA/ch_1EW0FmFSbr6xR4YAZyURWxQe/rcpt_F00G6tmZch7lV8HQbMulDt61Fd2T3Co",
|
||||
"refunded": false,
|
||||
"refunds": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 0,
|
||||
"url": "/v1/charges/ch_1EW0FmFSbr6xR4YAZyURWxQe/refunds"
|
||||
},
|
||||
"review": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"source_transfer": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/charges?payment_intent=pi_1EW0FmFSbr6xR4YAvECSRCv2"
|
||||
},
|
||||
"client_secret": "pi_1EW0FmFSbr6xR4YAvECSRCv2_secret_kUQ34vTWkFRAECbpbswOpAuus",
|
||||
"confirmation_method": "automatic",
|
||||
"created": 1556885558,
|
||||
"currency": "usd",
|
||||
"customer": "cus_F0026biLhRIcO9",
|
||||
"description": "Order #34",
|
||||
"invoice": null,
|
||||
"last_payment_error": null,
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "34",
|
||||
"order_number": "aaefd8ec96095c47ed0c665666c3c768",
|
||||
"transaction_reference": "84aaac664c7048000146d3a88b5f0081",
|
||||
"client_ip": "::1"
|
||||
},
|
||||
"next_action": null,
|
||||
"on_behalf_of": null,
|
||||
"payment_method": "pm_1EW0FPFSbr6xR4YAZOSMHIOE",
|
||||
"payment_method_types": [
|
||||
"card"
|
||||
],
|
||||
"receipt_email": null,
|
||||
"review": null,
|
||||
"shipping": null,
|
||||
"source": null,
|
||||
"statement_descriptor": null,
|
||||
"status": "succeeded",
|
||||
"transfer_data": null,
|
||||
"transfer_group": null
|
||||
}
|
||||
16
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/UpdatePaymentMethodFailure.txt
vendored
Normal file
16
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/UpdatePaymentMethodFailure.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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 save this PaymentMethod to a customer before you can update it.",
|
||||
"type": "invalid_request_error"
|
||||
}
|
||||
}
|
||||
53
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/UpdatePaymentMethodSuccess.txt
vendored
Normal file
53
vendor/omnipay/stripe/tests/Message/PaymentIntents/Mock/UpdatePaymentMethodSuccess.txt
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
HTTP/1.1 200 OK
|
||||
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
|
||||
|
||||
{
|
||||
"id": "pm_1EUon32Tb35ankTnF6nuoRVE",
|
||||
"object": "payment_method",
|
||||
"billing_details": {
|
||||
"address": {
|
||||
"city": null,
|
||||
"country": null,
|
||||
"line1": null,
|
||||
"line2": null,
|
||||
"postal_code": null,
|
||||
"state": null
|
||||
},
|
||||
"email": null,
|
||||
"name": null,
|
||||
"phone": null
|
||||
},
|
||||
"card": {
|
||||
"brand": "visa",
|
||||
"checks": {
|
||||
"address_line1_check": null,
|
||||
"address_postal_code_check": null,
|
||||
"cvc_check": null
|
||||
},
|
||||
"country": "US",
|
||||
"exp_month": 8,
|
||||
"exp_year": 2020,
|
||||
"fingerprint": "9OyiQNfcCMaD1b7P",
|
||||
"funding": "credit",
|
||||
"generated_from": null,
|
||||
"last4": "4242",
|
||||
"three_d_secure_usage": {
|
||||
"supported": true
|
||||
},
|
||||
"wallet": null
|
||||
},
|
||||
"created": 1556603165,
|
||||
"customer": "cus_3f2EpMK2kPm90g",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"order_id": "6735"
|
||||
},
|
||||
"type": "card"
|
||||
}
|
||||
Reference in New Issue
Block a user