ChargeService::create( null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )

To charge a credit card or other payment source, you create a Charge object. If your API key is in test mode, the supplied payment source (e.g., card) won’t actually be charged, although everything else will occur as if in live mode. (Stripe assumes that the charge would have completed successfully).


Description Description


Parameters Parameters

$params

(Optional)

Default value: null

$opts

(Optional)

Default value: null


Top ↑

Return Return

(StripeCharge)


Top ↑

Source Source

File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/ChargeService.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.