Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How can I get my stripe customer ID?

$customer = $stripe->customers()->create([
       'email' => $_POST['stripeEmail'],
       'source'  => $_POST['stripeToken'],
       'plan' => trim($plan)
    ]);

echo $customer['id'];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #stripe #customer
ADD COMMENT
Topic
Name
2+8 =