echo '

Successfully charged $50.00!

'; echo '
';
print_r($charge);

echo $_POST['stripeEmail'];




----------------------------->


Successfully charged $50.00!

Stripe\Charge Object





(
    [_opts:protected] => Stripe\Util\RequestOptions Object
        (
            [headers] => Array
                (
                )

            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
        )

    [_values:protected] => Array
        (
            [id] => ch_19wFPaFZdAGAQjnSAogOMkKw
            [object] => charge
            [amount] => 5000
            [amount_refunded] => 0
            [application] => 
            [application_fee] => 
            [balance_transaction] => txn_19wFPaFZdAGAQjnSl69IiRVN
            [captured] => 1
            [created] => 1489258674
            [currency] => usd
            [customer] => cus_AGmz36kYxMMqKR
            [description] => 
            [destination] => 
            [dispute] => 
            [failure_code] => 
            [failure_message] => 
            [fraud_details] => Array
                (
                )

            [invoice] => 
            [livemode] => 
            [metadata] => Stripe\AttachedObject Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [on_behalf_of] => 
            [order] => 
            [outcome] => Stripe\StripeObject Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [network_status] => approved_by_network
                            [reason] => 
                            [risk_level] => normal
                            [seller_message] => Payment complete.
                            [type] => authorized
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [paid] => 1
            [receipt_email] => 
            [receipt_number] => 
            [refunded] => 
            [refunds] => Stripe\Collection Object
                (
                    [_requestParams:protected] => Array
                        (
                        )

                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [object] => list
                            [data] => Array
                                (
                                )

                            [has_more] => 
                            [total_count] => 0
                            [url] => /v1/charges/ch_19wFPaFZdAGAQjnSAogOMkKw/refunds
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [review] => 
            [shipping] => 
            [source] => Stripe\Card Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [id] => card_19wFPSFZdAGAQjnSPDdxIFkw
                            [object] => card
                            [address_city] => 
                            [address_country] => 
                            [address_line1] => 
                            [address_line1_check] => 
                            [address_line2] => 
                            [address_state] => 
                            [address_zip] => 
                            [address_zip_check] => 
                            [brand] => Visa
                            [country] => US
                            [customer] => cus_AGmz36kYxMMqKR
                            [cvc_check] => pass
                            [dynamic_last4] => 
                            [exp_month] => 11
                            [exp_year] => 2019
                            [fingerprint] => IO8MFauEBQD6KZg7
                            [funding] => credit
                            [last4] => 4242
                            [metadata] => Stripe\AttachedObject Object
                                (
                                    [_opts:protected] => Stripe\Util\RequestOptions Object
                                        (
                                            [headers] => Array
                                                (
                                                )

                                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                                        )

                                    [_values:protected] => Array
                                        (
                                        )

                                    [_unsavedValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_transientValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_retrieveOptions:protected] => Array
                                        (
                                        )

                                    [_lastResponse:protected] => 
                                )

                            [name] => fdfsfsfdsf@gmail.com
                            [tokenization_method] => 
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [source_transfer] => 
            [statement_descriptor] => 
            [status] => succeeded
            [transfer_group] => 
        )

    [_unsavedValues:protected] => Stripe\Util\Set Object
        (
            [_elts:Stripe\Util\Set:private] => Array
                (
                )

        )

    [_transientValues:protected] => Stripe\Util\Set Object
        (
            [_elts:Stripe\Util\Set:private] => Array
                (
                )

        )

    [_retrieveOptions:protected] => Array
        (
        )

    [_lastResponse:protected] => Stripe\ApiResponse Object
        (
            [headers] => Array
                (
                    [Server] => nginx
                    [Date] => Sat, 11 Mar 2017 18:57:54 GMT
                    [Content-Type] => application/json
                    [Content-Length] => 1791
                    [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_AGmzMEwqYH9sMS
                    [Stripe-Version] => 2017-02-14
                    [Strict-Transport-Security] => max-age=31556926; includeSubDomains
                )

            [body] => {
  "id": "ch_19wFPaFZdAGAQjnSAogOMkKw",
  "object": "charge",
  "amount": 5000,
  "amount_refunded": 0,
  "application": null,
  "application_fee": null,
  "balance_transaction": "txn_19wFPaFZdAGAQjnSl69IiRVN",
  "captured": true,
  "created": 1489258674,
  "currency": "usd",
  "customer": "cus_AGmz36kYxMMqKR",
  "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",
    "seller_message": "Payment complete.",
    "type": "authorized"
  },
  "paid": true,
  "receipt_email": null,
  "receipt_number": null,
  "refunded": false,
  "refunds": {
    "object": "list",
    "data": [],
    "has_more": false,
    "total_count": 0,
    "url": "/v1/charges/ch_19wFPaFZdAGAQjnSAogOMkKw/refunds"
  },
  "review": null,
  "shipping": null,
  "source": {
    "id": "card_19wFPSFZdAGAQjnSPDdxIFkw",
    "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",
    "customer": "cus_AGmz36kYxMMqKR",
    "cvc_check": "pass",
    "dynamic_last4": null,
    "exp_month": 11,
    "exp_year": 2019,
    "fingerprint": "IO8MFauEBQD6KZg7",
    "funding": "credit",
    "last4": "4242",
    "metadata": {},
    "name": "fdfsfsfdsf@gmail.com",
    "tokenization_method": null
  },
  "source_transfer": null,
  "statement_descriptor": null,
  "status": "succeeded",
  "transfer_group": null
}

            [json] => Array
                (
                    [id] => ch_19wFPaFZdAGAQjnSAogOMkKw
                    [object] => charge
                    [amount] => 5000
                    [amount_refunded] => 0
                    [application] => 
                    [application_fee] => 
                    [balance_transaction] => txn_19wFPaFZdAGAQjnSl69IiRVN
                    [captured] => 1
                    [created] => 1489258674
                    [currency] => usd
                    [customer] => cus_AGmz36kYxMMqKR
                    [description] => 
                    [destination] => 
                    [dispute] => 
                    [failure_code] => 
                    [failure_message] => 
                    [fraud_details] => Array
                        (
                        )

                    [invoice] => 
                    [livemode] => 
                    [metadata] => Array
                        (
                        )

                    [on_behalf_of] => 
                    [order] => 
                    [outcome] => Array
                        (
                            [network_status] => approved_by_network
                            [reason] => 
                            [risk_level] => normal
                            [seller_message] => Payment complete.
                            [type] => authorized
                        )

                    [paid] => 1
                    [receipt_email] => 
                    [receipt_number] => 
                    [refunded] => 
                    [refunds] => Array
                        (
                            [object] => list
                            [data] => Array
                                (
                                )

                            [has_more] => 
                            [total_count] => 0
                            [url] => /v1/charges/ch_19wFPaFZdAGAQjnSAogOMkKw/refunds
                        )

                    [review] => 
                    [shipping] => 
                    [source] => Array
                        (
                            [id] => card_19wFPSFZdAGAQjnSPDdxIFkw
                            [object] => card
                            [address_city] => 
                            [address_country] => 
                            [address_line1] => 
                            [address_line1_check] => 
                            [address_line2] => 
                            [address_state] => 
                            [address_zip] => 
                            [address_zip_check] => 
                            [brand] => Visa
                            [country] => US
                            [customer] => cus_AGmz36kYxMMqKR
                            [cvc_check] => pass
                            [dynamic_last4] => 
                            [exp_month] => 11
                            [exp_year] => 2019
                            [fingerprint] => IO8MFauEBQD6KZg7
                            [funding] => credit
                            [last4] => 4242
                            [metadata] => Array
                                (
                                )

                            [name] => fdfsfsfdsf@gmail.com
                            [tokenization_method] => 
                        )

                    [source_transfer] => 
                    [statement_descriptor] => 
                    [status] => succeeded
                    [transfer_group] => 
                )

            [code] => 200
        )

)
fdfsfsfdsf@gmail.com



Bitcoin charge



Successfully charged $50.00!

Stripe\Charge Object
(
    [_opts:protected] => Stripe\Util\RequestOptions Object
        (
            [headers] => Array
                (
                )

            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
        )

    [_values:protected] => Array
        (
            [id] => py_19wXnnFZdAGAQjnSd66R1G2v
            [object] => charge
            [amount] => 9900
            [amount_refunded] => 0
            [application] => 
            [application_fee] => 
            [balance_transaction] => txn_19wXnoFZdAGAQjnSlMqSuq4w
            [captured] => 1
            [created] => 1489329367
            [currency] => usd
            [customer] => cus_AH5zb7d0GCMT9H
            [description] => 
            [destination] => 
            [dispute] => 
            [failure_code] => 
            [failure_message] => 
            [fraud_details] => Array
                (
                )

            [invoice] => 
            [livemode] => 
            [metadata] => Stripe\AttachedObject Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [on_behalf_of] => 
            [order] => 
            [outcome] => Stripe\StripeObject Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [network_status] => approved_by_network
                            [reason] => 
                            [risk_level] => not_assessed
                            [seller_message] => Payment complete.
                            [type] => authorized
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [paid] => 1
            [receipt_email] => 
            [receipt_number] => 
            [refunded] => 
            [refunds] => Stripe\Collection Object
                (
                    [_requestParams:protected] => Array
                        (
                        )

                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [object] => list
                            [data] => Array
                                (
                                )

                            [has_more] => 
                            [total_count] => 0
                            [url] => /v1/charges/py_19wXnnFZdAGAQjnSd66R1G2v/refunds
                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [review] => 
            [shipping] => 
            [source] => Stripe\Source Object
                (
                    [_opts:protected] => Stripe\Util\RequestOptions Object
                        (
                            [headers] => Array
                                (
                                )

                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                        )

                    [_values:protected] => Array
                        (
                            [id] => src_19wXnhFZdAGAQjnSIMUrtHr7
                            [object] => source
                            [amount] => 9900
                            [client_secret] => src_client_secret_w0VzS1xncnpcfDnvHOhMm9eG
                            [created] => 1489329368
                            [currency] => usd
                            [customer] => cus_AH5zb7d0GCMT9H
                            [flow] => receiver
                            [livemode] => 
                            [metadata] => Stripe\AttachedObject Object
                                (
                                    [_opts:protected] => Stripe\Util\RequestOptions Object
                                        (
                                            [headers] => Array
                                                (
                                                )

                                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                                        )

                                    [_values:protected] => Array
                                        (
                                        )

                                    [_unsavedValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_transientValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_retrieveOptions:protected] => Array
                                        (
                                        )

                                    [_lastResponse:protected] => 
                                )

                            [owner] => Stripe\AttachedObject Object
                                (
                                    [_opts:protected] => Stripe\Util\RequestOptions Object
                                        (
                                            [headers] => Array
                                                (
                                                )

                                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                                        )

                                    [_values:protected] => Array
                                        (
                                            [address] => 
                                            [email] => cth+fill_now@cththemes.com
                                            [name] => 
                                            [phone] => 
                                            [verified_address] => 
                                            [verified_email] => 
                                            [verified_name] => 
                                            [verified_phone] => 
                                        )

                                    [_unsavedValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_transientValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_retrieveOptions:protected] => Array
                                        (
                                        )

                                    [_lastResponse:protected] => 
                                )

                            [receiver] => Stripe\StripeObject Object
                                (
                                    [_opts:protected] => Stripe\Util\RequestOptions Object
                                        (
                                            [headers] => Array
                                                (
                                                )

                                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                                        )

                                    [_values:protected] => Array
                                        (
                                            [address] => test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
                                            [amount_charged] => 9900
                                            [amount_received] => 9900
                                            [amount_returned] => 0
                                            [refund_attributes_method] => email
                                            [refund_attributes_status] => missing
                                        )

                                    [_unsavedValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_transientValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_retrieveOptions:protected] => Array
                                        (
                                        )

                                    [_lastResponse:protected] => 
                                )

                            [status] => consumed
                            [type] => bitcoin
                            [usage] => single_use
                            [bitcoin] => Stripe\StripeObject Object
                                (
                                    [_opts:protected] => Stripe\Util\RequestOptions Object
                                        (
                                            [headers] => Array
                                                (
                                                )

                                            [apiKey] => sk_test_D7I2P5Sm7QOq7Oel2bkH6LrC
                                        )

                                    [_values:protected] => Array
                                        (
                                            [address] => test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
                                            [amount] => 23472900
                                            [amount_charged] => 23472900
                                            [amount_received] => 23472900
                                            [amount_returned] => 0
                                            [uri] => bitcoin:test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N?amount=0.23472900
                                            [refund_address] => 
                                        )

                                    [_unsavedValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_transientValues:protected] => Stripe\Util\Set Object
                                        (
                                            [_elts:Stripe\Util\Set:private] => Array
                                                (
                                                )

                                        )

                                    [_retrieveOptions:protected] => Array
                                        (
                                        )

                                    [_lastResponse:protected] => 
                                )

                        )

                    [_unsavedValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_transientValues:protected] => Stripe\Util\Set Object
                        (
                            [_elts:Stripe\Util\Set:private] => Array
                                (
                                )

                        )

                    [_retrieveOptions:protected] => Array
                        (
                        )

                    [_lastResponse:protected] => 
                )

            [source_transfer] => 
            [statement_descriptor] => 
            [status] => succeeded
            [transfer_group] => 
        )

    [_unsavedValues:protected] => Stripe\Util\Set Object
        (
            [_elts:Stripe\Util\Set:private] => Array
                (
                )

        )

    [_transientValues:protected] => Stripe\Util\Set Object
        (
            [_elts:Stripe\Util\Set:private] => Array
                (
                )

        )

    [_retrieveOptions:protected] => Array
        (
        )

    [_lastResponse:protected] => Stripe\ApiResponse Object
        (
            [headers] => Array
                (
                    [Server] => nginx
                    [Date] => Sun, 12 Mar 2017 14:36:08 GMT
                    [Content-Type] => application/json
                    [Content-Length] => 2372
                    [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_AH5z4gMxgcjtlT
                    [Stripe-Version] => 2017-02-14
                    [Strict-Transport-Security] => max-age=31556926; includeSubDomains
                )

            [body] => {
  "id": "py_19wXnnFZdAGAQjnSd66R1G2v",
  "object": "charge",
  "amount": 9900,
  "amount_refunded": 0,
  "application": null,
  "application_fee": null,
  "balance_transaction": "txn_19wXnoFZdAGAQjnSlMqSuq4w",
  "captured": true,
  "created": 1489329367,
  "currency": "usd",
  "customer": "cus_AH5zb7d0GCMT9H",
  "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": "not_assessed",
    "seller_message": "Payment complete.",
    "type": "authorized"
  },
  "paid": true,
  "receipt_email": null,
  "receipt_number": null,
  "refunded": false,
  "refunds": {
    "object": "list",
    "data": [],
    "has_more": false,
    "total_count": 0,
    "url": "/v1/charges/py_19wXnnFZdAGAQjnSd66R1G2v/refunds"
  },
  "review": null,
  "shipping": null,
  "source": {
    "id": "src_19wXnhFZdAGAQjnSIMUrtHr7",
    "object": "source",
    "amount": 9900,
    "client_secret": "src_client_secret_w0VzS1xncnpcfDnvHOhMm9eG",
    "created": 1489329368,
    "currency": "usd",
    "customer": "cus_AH5zb7d0GCMT9H",
    "flow": "receiver",
    "livemode": false,
    "metadata": {},
    "owner": {
      "address": null,
      "email": "cth+fill_now@cththemes.com",
      "name": null,
      "phone": null,
      "verified_address": null,
      "verified_email": null,
      "verified_name": null,
      "verified_phone": null
    },
    "receiver": {
      "address": "test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N",
      "amount_charged": 9900,
      "amount_received": 9900,
      "amount_returned": 0,
      "refund_attributes_method": "email",
      "refund_attributes_status": "missing"
    },
    "status": "consumed",
    "type": "bitcoin",
    "usage": "single_use",
    "bitcoin": {
      "address": "test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N",
      "amount": 23472900,
      "amount_charged": 23472900,
      "amount_received": 23472900,
      "amount_returned": 0,
      "uri": "bitcoin:test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N?amount=0.23472900",
      "refund_address": null
    }
  },
  "source_transfer": null,
  "statement_descriptor": null,
  "status": "succeeded",
  "transfer_group": null
}

            [json] => Array
                (
                    [id] => py_19wXnnFZdAGAQjnSd66R1G2v
                    [object] => charge
                    [amount] => 9900
                    [amount_refunded] => 0
                    [application] => 
                    [application_fee] => 
                    [balance_transaction] => txn_19wXnoFZdAGAQjnSlMqSuq4w
                    [captured] => 1
                    [created] => 1489329367
                    [currency] => usd
                    [customer] => cus_AH5zb7d0GCMT9H
                    [description] => 
                    [destination] => 
                    [dispute] => 
                    [failure_code] => 
                    [failure_message] => 
                    [fraud_details] => Array
                        (
                        )

                    [invoice] => 
                    [livemode] => 
                    [metadata] => Array
                        (
                        )

                    [on_behalf_of] => 
                    [order] => 
                    [outcome] => Array
                        (
                            [network_status] => approved_by_network
                            [reason] => 
                            [risk_level] => not_assessed
                            [seller_message] => Payment complete.
                            [type] => authorized
                        )

                    [paid] => 1
                    [receipt_email] => 
                    [receipt_number] => 
                    [refunded] => 
                    [refunds] => Array
                        (
                            [object] => list
                            [data] => Array
                                (
                                )

                            [has_more] => 
                            [total_count] => 0
                            [url] => /v1/charges/py_19wXnnFZdAGAQjnSd66R1G2v/refunds
                        )

                    [review] => 
                    [shipping] => 
                    [source] => Array
                        (
                            [id] => src_19wXnhFZdAGAQjnSIMUrtHr7
                            [object] => source
                            [amount] => 9900
                            [client_secret] => src_client_secret_w0VzS1xncnpcfDnvHOhMm9eG
                            [created] => 1489329368
                            [currency] => usd
                            [customer] => cus_AH5zb7d0GCMT9H
                            [flow] => receiver
                            [livemode] => 
                            [metadata] => Array
                                (
                                )

                            [owner] => Array
                                (
                                    [address] => 
                                    [email] => cth+fill_now@cththemes.com
                                    [name] => 
                                    [phone] => 
                                    [verified_address] => 
                                    [verified_email] => 
                                    [verified_name] => 
                                    [verified_phone] => 
                                )

                            [receiver] => Array
                                (
                                    [address] => test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
                                    [amount_charged] => 9900
                                    [amount_received] => 9900
                                    [amount_returned] => 0
                                    [refund_attributes_method] => email
                                    [refund_attributes_status] => missing
                                )

                            [status] => consumed
                            [type] => bitcoin
                            [usage] => single_use
                            [bitcoin] => Array
                                (
                                    [address] => test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
                                    [amount] => 23472900
                                    [amount_charged] => 23472900
                                    [amount_received] => 23472900
                                    [amount_returned] => 0
                                    [uri] => bitcoin:test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N?amount=0.23472900
                                    [refund_address] => 
                                )

                        )

                    [source_transfer] => 
                    [statement_descriptor] => 
                    [status] => succeeded
                    [transfer_group] => 
                )

            [code] => 200
        )

)
cth+fill_now@cththemes.com



// subscription with coupon

Stripe\StripeObject JSON: {
  "id": "sub_AHmqs7Aromtnne",
  "object": "subscription",
  "application_fee_percent": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "created": 1489488797,
  "current_period_end": 1492167197,
  "current_period_start": 1489488797,
  "customer": "cus_AHmqL6LZl7Tthj",
  "discount": {
    "object": "discount",
    "coupon": {
      "id": "25OFF",
      "object": "coupon",
      "amount_off": null,
      "created": 1489461935,
      "currency": null,
      "duration": "forever",
      "duration_in_months": null,
      "livemode": false,
      "max_redemptions": null,
      "metadata": {
      },
      "percent_off": 25,
      "redeem_by": null,
      "times_redeemed": 3,
      "valid": true
    },
    "customer": "cus_AHmqL6LZl7Tthj",
    "end": null,
    "start": 1489488797,
    "subscription": "sub_AHmqs7Aromtnne"
  },
  "ended_at": null,
  "items": {
    "object": "list",
    "data": [
      {
        "id": "si_19xDHFFZdAGAQjnS0Zzo279O",
        "object": "subscription_item",
        "created": 1489488798,
        "plan": {
          "id": "gold-99",
          "object": "plan",
          "amount": 9900,
          "created": 1489426584,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {
          },
          "name": "Gold Pass",
          "statement_descriptor": null,
          "trial_period_days": null
        },
        "quantity": 2
      }
    ],
    "has_more": false,
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_AHmqs7Aromtnne"
  },
  "livemode": false,
  "metadata": {
  },
  "plan": {
    "id": "gold-99",
    "object": "plan",
    "amount": 9900,
    "created": 1489426584,
    "currency": "usd",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {
    },
    "name": "Gold Pass",
    "statement_descriptor": null,
    "trial_period_days": null
  },
  "quantity": 2,
  "start": 1489488797,
  "status": "active",
  "tax_percent": null,
  "trial_end": null,
  "trial_start": null
}


//subscription without coupon

Stripe\StripeObject JSON: {
  "id": "sub_AHmwekaOSs4KHs",
  "object": "subscription",
  "application_fee_percent": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "created": 1489489153,
  "current_period_end": 1492167553,
  "current_period_start": 1489489153,
  "customer": "cus_AHmwEfTGWLtrqF",
  "discount": null,
  "ended_at": null,
  "items": {
    "object": "list",
    "data": [
      {
        "id": "si_19xDMzFZdAGAQjnSDDKQd1J9",
        "object": "subscription_item",
        "created": 1489489154,
        "plan": {
          "id": "gold-99",
          "object": "plan",
          "amount": 9900,
          "created": 1489426584,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {
          },
          "name": "Gold Pass",
          "statement_descriptor": null,
          "trial_period_days": null
        },
        "quantity": 2
      }
    ],
    "has_more": false,
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_AHmwekaOSs4KHs"
  },
  "livemode": false,
  "metadata": {
  },
  "plan": {
    "id": "gold-99",
    "object": "plan",
    "amount": 9900,
    "created": 1489426584,
    "currency": "usd",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {
    },
    "name": "Gold Pass",
    "statement_descriptor": null,
    "trial_period_days": null
  },
  "quantity": 2,
  "start": 1489489153,
  "status": "active",
  "tax_percent": null,
  "trial_end": null,
  "trial_start": null
}



//webhook event

object(stdClass)#159 (9) {
  ["created"]=>
  int(1326853478)
  ["livemode"]=>
  bool(false)
  ["id"]=>
  string(18) "evt_00000000000000"
  ["type"]=>
  string(16) "charge.succeeded"
  ["object"]=>
  string(5) "event"
  ["request"]=>
  NULL
  ["pending_webhooks"]=>
  int(1)
  ["api_version"]=>
  string(10) "2017-02-14"
  ["data"]=>
  object(stdClass)#158 (1) {
    ["object"]=>
    object(stdClass)#157 (35) {
      ["id"]=>
      string(17) "ch_00000000000000"
      ["object"]=>
      string(6) "charge"
      ["amount"]=>
      int(9900)
      ["amount_refunded"]=>
      int(0)
      ["application"]=>
      NULL
      ["application_fee"]=>
      NULL
      ["balance_transaction"]=>
      string(18) "txn_00000000000000"
      ["captured"]=>
      bool(true)
      ["created"]=>
      int(1489492124)
      ["currency"]=>
      string(3) "usd"
      ["customer"]=>
      string(18) "cus_00000000000000"
      ["description"]=>
      NULL
      ["destination"]=>
      NULL
      ["dispute"]=>
      NULL
      ["failure_code"]=>
      NULL
      ["failure_message"]=>
      NULL
      ["fraud_details"]=>
      object(stdClass)#156 (0) {
      }
      ["invoice"]=>
      string(17) "in_00000000000000"
      ["livemode"]=>
      bool(false)
      ["metadata"]=>
      object(stdClass)#155 (0) {
      }
      ["on_behalf_of"]=>
      NULL
      ["order"]=>
      NULL
      ["outcome"]=>
      object(stdClass)#154 (5) {
        ["network_status"]=>
        string(19) "approved_by_network"
        ["reason"]=>
        NULL
        ["risk_level"]=>
        string(6) "normal"
        ["seller_message"]=>
        string(17) "Payment complete."
        ["type"]=>
        string(10) "authorized"
      }
      ["paid"]=>
      bool(true)
      ["receipt_email"]=>
      NULL
      ["receipt_number"]=>
      NULL
      ["refunded"]=>
      bool(false)
      ["refunds"]=>
      object(stdClass)#153 (5) {
        ["object"]=>
        string(4) "list"
        ["data"]=>
        array(0) {
        }
        ["has_more"]=>
        bool(false)
        ["total_count"]=>
        int(0)
        ["url"]=>
        string(47) "/v1/charges/ch_19xE8uFZdAGAQjnS594auMPC/refunds"
      }
      ["review"]=>
      NULL
      ["shipping"]=>
      NULL
      ["source"]=>
      object(stdClass)#152 (22) {
        ["id"]=>
        string(19) "card_00000000000000"
        ["object"]=>
        string(4) "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"]=>
        string(4) "Visa"
        ["country"]=>
        string(2) "US"
        ["customer"]=>
        string(18) "cus_00000000000000"
        ["cvc_check"]=>
        string(4) "pass"
        ["dynamic_last4"]=>
        NULL
        ["exp_month"]=>
        int(11)
        ["exp_year"]=>
        int(2019)
        ["funding"]=>
        string(6) "credit"
        ["last4"]=>
        string(4) "4242"
        ["metadata"]=>
        object(stdClass)#151 (0) {
        }
        ["name"]=>
        NULL
        ["tokenization_method"]=>
        NULL
      }
      ["source_transfer"]=>
      NULL
      ["statement_descriptor"]=>
      NULL
      ["status"]=>
      string(9) "succeeded"
      ["transfer_group"]=>
      NULL
    }
  }
}




    
    
    Error
    


    

There is an error on Stripe event processing.

Charge success data object: {"id":"ch_19z7jWFZdAGAQjnS92MTp3mY","object":"charge","amount":3675,"amount_refunded":0,"application":null,"application_fee":null,"balance_transaction":"txn_19z7jWFZdAGAQjnSJbbdJ3sV","captured":true,"created":1489944142,"currency":"usd","customer":"cus_AJlGtbaB6Vpi5k","description":"0","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","seller_message":"Payment complete.","type":"authorized"},"paid":true,"receipt_email":null,"receipt_number":null,"refunded":false,"refunds":{"object":"list","data":[],"has_more":false,"total_count":0,"url":"\/v1\/charges\/ch_19z7jWFZdAGAQjnS92MTp3mY\/refunds"},"review":null,"shipping":null,"source":{"id":"card_19z7jUFZdAGAQjnSJPDYWVKg","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","customer":"cus_AJlGtbaB6Vpi5k","cvc_check":"pass","dynamic_last4":null,"exp_month":11,"exp_year":2019,"fingerprint":"IO8MFauEBQD6KZg7","funding":"credit","last4":"4242","metadata":[],"name":null,"tokenization_method":null},"source_transfer":null,"statement_descriptor":null,"status":"succeeded","transfer_group":null}