Hi @kchan2018.
The way Stripe Checkout pop-up works, it doesn’t allow to get the customer name without the address. So it’s either just email or full address.
In order to be able to achieve what you want, Stripe.js and Elements should be used – https://stripe.com/docs/stripe-js . With those, you can get any kind of details from your users – https://stripe.github.io/elements-examples/
Stripe Payment is using Checkout, not Elements, therefore it’s not possible to achieve using it. We are considering adding Elements to the plugin, but ETA is currently unknown.
Though there might be still a way of doing that – custom field. https://wordpress.org/support/topic/custom-field-76/#post-9877363
When this is added, you can use it for your purpose. You can add custom text input, make it mandatory and user won’t be able to proceed to payment popup unless it’s filled in.
Yes. That will work for me. Thanks.
By the way, can the plugin support multiple custom fields? In our use case, I would use one for the payer’s name which is mandatory. And I would use another one for notes which is optional.
I’ve made a testing version with this functionality implemented – https://wordpress.org/support/topic/custom-field-76/#post-9881547
Currently, it only has one field. After it is tested, we will consider adding additional fields etc. Please give it a try and let me know how it goes.
Thanks for the quick action! I will try it out tonight.
Sorry. As the plugin is already active in my web site, I cannot overwrite it with the test version.
I will provide feedback once it is released. Thanks.
You can delete the one that is currently installed, then install this testing version. It will preserve all settings etc. Also it will automatically update when the stable version it released.
Thanks for the suggestions. With that, I can try out the test version.
Things mostly work as expected. But I do encounter one problem. Once I add {custom_field} in the “Seller Email Body”, I can no longer receive the email which does work earlier.
I am not sure it is directly related to the plugin or it may trigger some spam filters.
Please ignore the email problem. The seller email is finally received. Don’t know the reason for the delay.
-
This reply was modified 8 years, 3 months ago by
kchan2018.
Thank you for testing @kchan2018.
The new version 1.7.2 (which was released recently) has this functionality implemented. So when you upgrade testing version of the plugin, everything should keep working fine.
I’ve double-checked the seller email and it gets delivered just fine for me. I can see in your other message you said it is working now, but just to confirm, is everything working like expected?
I’m also marking this thread as resolved.
Yes. The email issue is a false alarm due to delay somewhere along the delivery path.
Everything works as expected. Thanks again.