#fazilhussain015
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- fazilhussain015, 2 hours ago, 20 messages
- fazilhussain015, 3 hours ago, 8 messages
- fazilhussain015, 4 days ago, 24 messages
PaymentElement only collects billing info like name and email for certain payment methods that require it.
If you want to collect if explicitly, you might want to use Address Element or just add your own fields above the payment form
if i add my own fields above the form than how ill pas it with payment information
when i get payments from the customers it shows me guest in the dashboard in customers section
When you call confirmPayment
https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams
you can pass it under confirmParams.payment_method_data.billing_details
i want to get the even name for customer when he pays us
My understanding is that it only shows "Guest Customer" for payments accepted via Stripe hosted checkout page
For deferred flow that you're building, it shouldn't show guest customer or any customer name for that payment
unless you're setting it explicitly
i could not undrestand could you please narrow down it
narrow down what?
"For deferred flow that you're building, it shouldn't show guest customer or any customer name for that payment
unless you're setting it explicitly"
i did not get this part
Can you share an example payment where you're seeing "Guest Customer"
sure
$stripeSecretKey = env('STRIPE_SECRET_KEY');
$stripe = new \Stripe\StripeClient($stripeSecretKey);
$intent = $stripe->paymentIntents->create(
[
'amount' => $request->amount,
'currency' => 'usd',
// In the latest version of the API, specifying the automatic_payment_methods parameter is optional because Stripe enables its functionality by default.
'automatic_payment_methods' => ['enabled' => true],
'metadata' => ['campaign_id' => '6735'],
]
);
im using this code
Ah seems like dashboard has changed a few things about how they show paymnets that aren't related to a customer object