I have a simple WordPress setup which has a donations page. I have used some basic Stripe Checkout buttons which will allow for set amounts to be donated. I have set these up as products in the Stripe Dashboard. However, I am looking into the option of including a custom amount option, where users can type the amount they wish to donate. But from what I have read, this requires a more advanced setup. I'm not entirely clued up on server side interactions but I believe there has to be some kind of server involvement to achieve a custom donation amount.
I have seen code that would be implemented on the front end ( The form fields, for example) but where would I need to implement the server code?
Can anybody give me a little guidance on this. Any help much appreciated,
This question is very broad, I'm not sure what your technical background is so I cannot advise you on how you would go about it. You might have to hire a developer or ask a friend to help you build your Stripe integration out, or use a Stripe Partner from their Partner Program that can act as a plugin/platform for your Wordpress site: https://stripe.com/partners/apps-and-extensions
Ultimately Stripe's docs mostly cover how you would go about integrating Stripe into a backend: https://stripe.com/docs/payments/accept-a-payment
Your webpage would have to send a request with the custom donation amount, to your server, to create a CheckoutSession for a custom Price of that amount: https://stripe.com/docs/payments/accept-a-payment#add-an-event-handler-to-the-checkout-button
If you're using Stripe Checkout, then there's really no need to do any server-side development. Since you've set up Products and Prices in Stripe dashboard, then all you need is to use Stripe Checkout client-only integration, and pass in the respective items ID https://stripe.com/docs/js/checkout/redirect_to_checkout?type=cardNumber#stripe_checkout_redirect_to_checkout-options-lineItems
Related
I'd like to allow anyone to pay for their initial subscription order without having to log in.
I've tried adding this snipet to my website but it doesn't work:
https://www.businessbloomer.com/woocommerce-allow-to-pay-for-order-without-login/
It works for orders but not for parent orders of a subscription.
After exploring WooCommerce Subscriptions Core code I'm convinced that this it not possible. The plugin enforces that the user needs to be logged in to pay for the parent order of a subscription.
See wcs-cart-initial-payment
The solution mentioned in the article you linked to only works for regular WooCommerce orders and not for subscriptions, which are a separate product type in WooCommerce and have different payment requirements.
You may find this guide on guest checkout for WooCommerce subscriptions helpful:
https://simongondeck.com/woocommerce-subscriptions-guest-checkout/
Or, if you are more of a visual learner, follow along with this video tutorial that outlines everything described in the article:
https://www.youtube.com/watch?v=twqdtHu5TqQ&ab_channel=SimonGondeck
I am new here for Wordpress and website development and I have a few questions to ask, so would like to seek advices from your expertise. The post is a little bit long as I combined the questions into 1 post, please accept my apologies in advance :D
Q1: I am building the website with Elementor page builder in wordpress, but one of the challenges I am facing now is that I cannot find a widget that allows me to build Product Selection Page like this Product Selection Page Image
May I know if I want to develop the website to this kind of design, is there anyway I can do it without coding? If yes, can you please also suggest me how should I do it?
Q2: Is there any free widget / plugins I can use if I want to develop the Booking & Payment page to something like this? Booking & Payment Page Image From my research so far, those free booking softwares out there only provide booking functions, if want to add payment function will have to subscribe / pay for it.
And the booking softwares do not provide API, so is there any way that we can extract the data without API?
As my client has budget issue, so is there any other alternatives that I can go with? Or it has to be coded by own self? (if must be this design)
Q3: Let's say after a customer had done booking and payment, by right we should direct them to a Confirmation / Thank You Page. But how do I link the "date" and "package" to their prior selection? As each customer may selection is different. (Please refer to the red lines and circle in the image) Confirmation / Thank you Page
And how do I add the "Add to Google Calendar" function? As I do not see any widget that can do this as well.
Thank you for spending your time to read this post. Appreciate for your time and effort
Apologies for not knowing the exact terms to describe what I want, but I am using a simple WordPress theme site, the included WPForms plugin, and am trying to take orders using Square as my payment processing.
The current system I'm using works: I have a WPForm that gets the order information I need, they submit the form, then that redirects to a page where they click a link and arrive at the payment window on Square.
The problem is that I'm finding there's abandonment between the order form sending and the payment -- so I get orders in my Inbox, then have to wait and eventually track down whether they're wanting to pay. I'd really love to have my order arrive ONLY if payment is completed.
I could do this most simply by reversing the process, requiring someone pay first, THEN redirect to the order page...but that's a bad customer experience and I think people are more invested in completing a purchase if they're already excited by "ordering" it.
So I'm hoping someone can tell me if there's a plugin or method such that the very same "Order now" button will send the order to me AND process (and complete) the payment.
If this is more complicated than I think, if it's a huge headache, I will opt for either leaving it as is and tracking down payment...or reverse and make them pay first. But any help or suggestions, particularly for a Plugin that can do what I'm looking for, would be great. Thank you in advance!
If you're willing to purchase the Pro version of WPForms then it easily integrates with Stripe to collect payment at the same time that your Form is submitted.
https://wpforms.com/how-to-accept-payments-with-stripe/
PayPal and Authorize.Net are other options that integrate with WPForms.
These other questions may be relevant as well:
Wordpress action hook not firing (wpforms)
Wordpress Help (WPForms + PayPal Workflow)
I'm trying to build a website that has items for sale by credits only. The credits would be entered for all users by an admin only (manually). And the items could be shopped on the site by users who would see something they want, they'd be able to see how many 'credits' they have accrued, and then build a cart and place an order by spending these credits. There would be absolutely no need for actual money, no shipping, just a notification sent to the admins that an order has been requested, who and what that order request is, and the 'credits' deducted from their account.
Can anybody point in the direction of the right direction to build something like this? I'm thinking Wordpress because I'm familiar with the dashboard and backend of it, but I'm not opposed to another CMS tool if there's a better one for this idea.
I don't believe WordPress has anything out of the box like this, but you can always search for a plugin that does what you are describing.
If there isn't one, you may consider installing WooCommerce and creating "coupons" instead. But I don't know if that would work for what you are talking about or not.
I am working on a eCommerce site. My client wants to develop site like this http://lanyardpeople.co.uk. Where someone can order a product and he can customize the product option. All the options will be arranged in several tabs.
I tried to do it in woocommerce but it is not well documented and very hard to understand their API.
Please suggest me with any other eCommerce software with that requirements.
I doubt you will succeed searching for a ready made solution. WooCommerce is an extremely good free shopping cart solution and I would stick with that. Then I would use some extension like WooCommerce Product Add-Ons AND hire a developer that would do the fancy part. You won't get away without custom development here.