Posted: March 8, 2014 at 5:07 pm
|
I only have one payment option, which is BeanStream. I do not wish the visitor to see “Please choose a payment option” and have to click on the “BeanStream” to proceed to pay. This is nonsense and annoying, when there is not anything else to choose from. Right after “Payment Overview”, can we directly present the form for user to enter necessary information? This is in EE3. |
Hi Steve, Please try adding the following code to your theme’s functions.php file: add_action( 'wp_print_scripts', 'my_no_ee_paybutton_hideform', 100 ); function my_no_ee_paybutton_hideform() { wp_deregister_script( 'espresso_payment_page' ); } Let me know if this helps with reducing the steps to see the payment button. — |
|
|
Hi Lorenzo, Thank you so much for the quick response. I did not expect it. I will try the code and let you know. By the way, with EE4 at this time, I cannot use BeanStream payment gateway? When will the EE4 be able to handle BeanStream? |
|
Hi Lorenzo, I have put your suggested code to the very bottom of my theme (Capital) functions.php file. It does not really do the work. Before, it displayed a box with header as “Please choose a payment option”, and a beanstream logo in the box. Once click on the logo, it will display below the logo, a sentence reads: “Please click on the Beanstream to proceed the credit card payment”, the billing information form, and credit card information form. Now, after adding the code, it displays all above contents at once. The only difference is that people do not need to click on the logo anymore. My objective is trying to not telling people “Please choose a payment option”, and without telling “”Please click on the Beanstream to proceed the credit card payment”, because people do not have second option to choose from, and they do not need to click on Beanstream logo to proceed, instead, they will be clicking on “Complete Purchase” button at the bottom to proceed. Also, there are two more sentences at the bottom of the form, I wish they to disappear. One line (link) reads: “Choose a different payment option”, another reads: ” <symbol> denotes an external link. clicking will take you to another website for payment processing.” In my case, the only payment option is Beanstream, which is processed on my website, I do not wish to tell them something that will not happen in this payment process. Can these issues be addressed? I would really appreciate your help. Steve |
I’m not sure if that is possible without some custom coding. For the sentences towards the bottom of the form, you should be able to hide them using some CSS: #external-link-msg-pg, .choose-diff-pay-option-pg { display:none } Try adding the CSS above to your theme’s style.css file or a plugin like My Custom CSS: https://wordpress.org/plugins/my-custom-css/ You may need to refresh the payment page so that the new CSS loads. — |
|
|
Hi Lorenzo, Thanks for the code that helped to remove the bottom two sentences. That is great. However, I really wish to change two lines at the top of the payment box, as they will definitely confuse the users. I know it may require some coding, I would really appreciate if you can find a way to accomplish that. I look forward to it. Cheers, Steve |
|
Hi, This CSS will hide those two lines .choose-diff-pay-option-pg, #external-link-msg-pg { display: none; } Regarding Beanstream: it is not currently available in EE4. We are working on expanding the gateways available for that version but we cannot advise when or if Beanstream will be added. |
|
Hi Dean, Thanks for your response on the two lines as well as on Beanstream with EE4. I guess I will just stick with EE3 untill you make Beanstream available. Steve |
|
Hi, You’re welcome. Keep an eye on the blog we will no doubt make an announcement regarding the gateways once everything is ready. |
The support post ‘Do not show payment option, directly proceed to credit card input form’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.