#apebk
1 messages · Page 1 of 1 (latest)
hi, do you have an example where this happened, like the cs_test_xxx ID involved.
'id' => 'cs_test_a1wNiBnEdSf1g60eagWE3tOliMUSM4x4xExDGFJDxddh9RpmsHG9CNlnPb',
hmm I don't 100% understand this integration. Can you show me the code where you set the client_reference_id on your side?
public function getSession() {
$stripe = new \Stripe\StripeClient('MyTest Id');
$account = Auth::guard('company')->user();
$id = $account->id;
//\Log::info($account);
$checkout = $stripe->checkout->sessions->create([
'mode' => 'subscription',
'success_url' => 'MyWebPage',
'cancel_url' => 'my_Web_Page',
'line_items' => [
[
'price' => 'price_1JMwCtLLMk1va9PUwZ7lgT4a',
'quantity' => 1,
],
],
'client_reference_id' => $id,
]);
\Log::info($checkout);
return $checkout;
}
hmm it's strange because the CheckoutSession ID you shared was not created that way
maybe you have a different way of accepting a payment that does not go through that PHP code
try searching your complete front and backend code for "price_1JMwCtLLMk1va9PUwZ7lgT4a" to find where else you're doing this
Im using vueStripe in laravel if that helps
Hi! I'm taking over this thread.