How can I get my stripe customer ID?
$customer = $stripe->customers()->create([
'email' => $_POST['stripeEmail'],
'source' => $_POST['stripeToken'],
'plan' => trim($plan)
]);
echo $customer['id'];
How can I get my stripe customer ID?
$customer = $stripe->customers()->create([
'email' => $_POST['stripeEmail'],
'source' => $_POST['stripeToken'],
'plan' => trim($plan)
]);
echo $customer['id'];
get stripe create account id
const stripe = require('stripe')('{{PLATFORM_SECRET_KEY}}');
const customer = await stripe.customers.create(
{email: '[email protected]'},
{stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}'}
);
// Fetching an account just needs the ID as a parameter
const account = await stripe.accounts.retrieve('{{CONNECTED_STRIPE_ACCOUNT_ID}}');
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us