Skip to content

Instantly share code, notes, and snippets.

@ctessmer
Created December 29, 2017 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctessmer/45ee022e91d652c920472c3acb76d2e0 to your computer and use it in GitHub Desktop.
Save ctessmer/45ee022e91d652c920472c3acb76d2e0 to your computer and use it in GitHub Desktop.
# Passed to Stripe via PHP Stripe library v5.8.0
// command = $stripe_customer = \Stripe\Customer::create($customer_array);
$customer_array =
Array
(
[email] => smashley@gmail.com
[description] => Ashley "Vornado" Erdos
[metadata] => Array
(
[admin_id] => 272
)
[card] => Array
(
[id] => tok_1Be3b0DhZRIi7LgpaTUnT19S
[object] => token
[card] => Array
(
[id] => card_1Be3b0DhZRIi7LgpwquzzAUE
[object] => card
[address_city] =>
[address_country] =>
[address_line1] =>
[address_line1_check] =>
[address_line2] =>
[address_state] =>
[address_zip] =>
[address_zip_check] =>
[brand] => Visa
[country] => US
[cvc_check] => unchecked
[dynamic_last4] =>
[exp_month] => 4
[exp_year] => 2024
[funding] => credit
[last4] => 4242
[name] =>
[tokenization_method] =>
)
[client_ip] => 98.165.129.130
[created] => 1514476022
[livemode] => false
[type] => card
[used] => false
)
[plan] => pro3
[trial_end] => 1515863195
)
# Received Error Message
Could not find payment information
# Stripe log
https://dashboard.stripe.com/test/logs/req_BMBSimFAELlxJc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment