#harrison-ff_error
1 messages · Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- harrison-ff_error, 1 day ago, 15 messages
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1238014991702032458
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the request ID (req_xxx) of the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I recenlty spoke here:
okay I will get the request id
req_gaJtIPjiHE5SgF
wait that is the wrong one
req_e9oJSmlGg6QnFT
this is the failed invoice
Can you share the flow on how you collect the PayPal payment method?
I create a setup intent
$intent = $request->user()->createSetupIntent();
then it shows this page:
then I add items to the invoice and invoice the customer:
public function purchase(Request $request, Fileservice $fileservice)
{
$user = $request->user();
$paymentMethod = $request->input('payment_method');
try {
$user->createOrGetStripeCustomer();
$user->updateDefaultPaymentMethod($paymentMethod);
$user->tabPrice($fileservice->tuningType->stripe_price_id, 1);
foreach ($fileservice->tuningTypeOptions as $option) {
$user->tabPrice($option->stripe_price_id, 1);
}
$invoice = $user->invoice();
Thanks for sharing! When using Setup Intent to collect PayPal payment method, mandate information should be under mandate_data hash should be set when calling confirmSetup(), e.g.
confirmParams: {
return_url: url,
mandate_data: {
customer_acceptance: {
type: 'online',
online: {
infer_from_client: true
}
}
},
},
Okay I will give this ago, should the setup intent be confirmed during this purchase method shown above?