#fazilhussain015

1 messages · Page 1 of 1 (latest)

halcyon ruinBOT
#

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.

elfin smelt
#

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

vast spear
#

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

elfin smelt
vast spear
#

i want to get the even name for customer when he pays us

elfin smelt
#

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

vast spear
#

i could not undrestand could you please narrow down it

elfin smelt
#

narrow down what?

vast spear
#

"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

elfin smelt
#

Can you share an example payment where you're seeing "Guest Customer"

vast spear
#

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

elfin smelt
#

Ah seems like dashboard has changed a few things about how they show paymnets that aren't related to a customer object

vast spear
#

okay but my question is how i can identify by name or email who made this payment.

#

i can explain you again if you didn't get my point