- Posts: 103
- Thank you received: 5
Stripe Payment Module: metadata
- Russell Noble
- Topic Author
- Offline
- Premium Member
Less
More
8 years 4 months ago #73813
by Russell Noble
Stripe Payment Module: metadata was created by Russell Noble
Hi,
for anyone using the Stripe payment module it doesn't include metadata or provide the e-mail address for a receipt to be sent from Stripe.
I've just added these, you just need to update the os_stripe.php file and replace the lines which set $request = array( to the below.
This is important if you need to search Stripe for a payment by a particular person but they paid with someone else's credit card. (ie. the name on the credit card doesn't match the name of the person who registered.)
Maybe this could be added to the code?
Tuan, I wonder is there any chance of getting Stripe module updated to use the hosted payment system so credit card details are sent directly to the Stripe and not via Joomla, in much the same way the paypal one works?
for anyone using the Stripe payment module it doesn't include metadata or provide the e-mail address for a receipt to be sent from Stripe.
I've just added these, you just need to update the os_stripe.php file and replace the lines which set $request = array( to the below.
This is important if you need to search Stripe for a payment by a particular person but they paid with someone else's credit card. (ie. the name on the credit card doesn't match the name of the person who registered.)
Code:
$request = array(
'amount' => 100*round($data['amount'], 2),
'currency' => $this->params->get('stripe_currency', 'usd'),
'description' => $itemName,
'card' => array(
'number' => $data['x_card_num'],
'exp_month' => $data['exp_month'],
'exp_year' => $data['exp_year'],
'cvc' => $data['x_card_code'],
'name' => $data['card_holder_name'],
),
'receipt_email' => $row->email,
'metadata' => array (
'First Name' => $row->first_name,
'Last Name' => $row->last_name,
'Email' => $row->email,
'Source' => 'Event Booking',
'Event' => $itemName
)
);
Maybe this could be added to the code?
Tuan, I wonder is there any chance of getting Stripe module updated to use the hosted payment system so credit card details are sent directly to the Stripe and not via Joomla, in much the same way the paypal one works?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 4 months ago #73841
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Payment Module: metadata
Hmm
Stripe now support hosted payment? Could you send me the link to their documentation ?
From what I see, Stripe still requires users to enter credit directly on the site, not at Stripe site
If they support hosted payment, I will implement it
Tuan
Stripe now support hosted payment? Could you send me the link to their documentation ?
From what I see, Stripe still requires users to enter credit directly on the site, not at Stripe site
If they support hosted payment, I will implement it
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 4 months ago #73843
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Payment Module: metadata
Thanks for sharing meta data code. I will try to look at their documentation and then if that meta data is useful, I will add it to the core download package
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Russell Noble
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 5
8 years 4 months ago #73853
by Russell Noble
Replied by Russell Noble on topic Stripe Payment Module: metadata
The receipt would be useful too
Please Log in or Create an account to join the conversation.
- Russell Noble
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 5
8 years 4 months ago #73858
by Russell Noble
Replied by Russell Noble on topic Stripe Payment Module: metadata
Sorry, not exactly hosted. Current implementation means really Event Booking users (admins) should be getting PCI DSS compliance because even though the credit card details are not stored on the joomla server it is sent to it. In Australia, US, UK etc this means we have to get compliance work done, which is costly.
There's two options:
1/ Embedded Form (called Checkout): stripe.com/docs/tutorials/checkout
2/ Custom Form: uses stripe.js so the credit card doesn't get submitted to joomla. It tokenises it first and then you process the transaction on the token. This ensures the server never sees the credit card - more secure. stripe.com/docs/tutorials/forms
Both these methods means the joomla server never sees the credit card number and your php code in the payment module only passes a token, not the credit card details.
There's two options:
1/ Embedded Form (called Checkout): stripe.com/docs/tutorials/checkout
2/ Custom Form: uses stripe.js so the credit card doesn't get submitted to joomla. It tokenises it first and then you process the transaction on the token. This ensures the server never sees the credit card - more secure. stripe.com/docs/tutorials/forms
Both these methods means the joomla server never sees the credit card number and your php code in the payment module only passes a token, not the credit card details.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 4 months ago #73860
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Payment Module: metadata
I will go with stripe.js. It is on my todo list. I can see the benefit of that method. Give me one month or so to implement that feature
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Helen
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
8 years 1 month ago #77897
by Helen
Replied by Helen on topic Stripe Payment Module: metadata
Hi
Is there any update on this pls?
I have installed the Stripe plug in then realised it goes through the server and not directly to Stripe as I thought it would.
As I cant face PCI DSS compliance, the CC info direct to Stripe would be great as I currently having to use Paypal instead (another pet hate!)
Thx
Is there any update on this pls?
I have installed the Stripe plug in then realised it goes through the server and not directly to Stripe as I thought it would.
As I cant face PCI DSS compliance, the CC info direct to Stripe would be great as I currently having to use Paypal instead (another pet hate!)
Thx
Please Log in or Create an account to join the conversation.
- Roger D
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 0
8 years 1 month ago #77899
by Roger D
Replied by Roger D on topic Stripe Payment Module: metadata
I am also interested in switching to Stripe and would like to know exactly what is required on admin end for it to function.
SSL
TLS
Certificate (which level), etc.
SSL
TLS
Certificate (which level), etc.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 month ago #77912
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Payment Module: metadata
Hi
This is now implemented (for about one month ago) using StripeJS
So the credit card information won't be passed directly to your server anymore. The credit card information is passed to Stripe, Stripe encrypted it and return a token
That token is passed to your server instead of raw credit card information. It will then being passed to Stripe for processing payment....
To use Stripe, I think you should still have SSL certificate for your site. For more information about security concern, maybe you should ask Stripe directly (they provide good support and they know it better than us)
Regards,
Tuan
This is now implemented (for about one month ago) using StripeJS
So the credit card information won't be passed directly to your server anymore. The credit card information is passed to Stripe, Stripe encrypted it and return a token
That token is passed to your server instead of raw credit card information. It will then being passed to Stripe for processing payment....
To use Stripe, I think you should still have SSL certificate for your site. For more information about security concern, maybe you should ask Stripe directly (they provide good support and they know it better than us)
Regards,
Tuan
The following user(s) said Thank You: JustMe, Helen
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.