Stripe shows email not name

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 5 months ago - 6 years 5 months ago #129041 by OTWD
Stripe shows email not name was created by OTWD
Hi the new Stripe plug-in shows the registrants email in the striped backend dashboard. Previously the Stripe plug-in with events booking showed the registrants names. Can the plug-in be updated so that registrants names are shown again in the stripe dashboard as this makes it much easier for record keeping

Success consists of going from failure to failure without loss of enthusiasm.
Last edit: 6 years 5 months ago by OTWD.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 5 months ago #129045 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe shows email not name
Hello

To be honest, I don't know how Stripe handles it. Could you please try to look at components/com_eventbooking/payments/os_stripecheckout.php, find and remove the line of code:

'customer_email' => $row->email

Then check it again to see if it solves the issue?

Tuan

Please Log in or Create an account to join the conversation.

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 5 months ago #129119 by OTWD
Replied by OTWD on topic Stripe shows email not name
Hi Tuan,
I have spent a lot of time trying to capture additional info in the new stripe checkout
'customer_email' => $row->email is required and I can confirm that the customer column in the dashboard can not be replaced with a name e.g i tried

$Itemid = JFactory::getApplication()->input->getInt('Itemid', 0);
$siteUrl = JUri::base();
$title = $data;
$bookid = $row->id;
$email = $row->email;
$fname = $row->first_name;
$lname = $row->last_name;
$name = $fname.' '.$lname;

Then using the variable $name in:
'customer_email' => $name

In the old stripe plugin you could use metadata for additional info however in the new checkout I cant work out how to capture EB data into stripe metadata

e.g I tried
'payment_intent_data' => [
'description' => $name,
],

But nothing is passed to stripe.
There must be a way of passing some additional data such as the name of the person booking into the stripe dashboard? Can you suggest anything please

Success consists of going from failure to failure without loss of enthusiasm.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 5 months ago #129129 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe shows email not name
Hello

Could you please download latest package of the EB Stripe Checkout payment plugin and update to your site? In that latest package, we already pass necessary meta data to Stripe

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc