SCENARIO:
There is an events page which allows users to buy tickets for an event. Each event has a different ticket price, but they all use the same Gravity Form to process the payment through the Gravity Forms PayPal add-on.
PROBLEM:
How do you pass the price of an event from the events page to the Gravity Form for PayPal to process?
The user must not have access to change the price.
Setting the price via dynamic population is probably your best bet. Here is an article I wrote that sounds like it's spot on for your current scenario.
http://gravitywiz.com/dynamic-products-via-post-meta/
Related
I have a problem contact form 7. I want payment with paypal combined contact form 7 . Picture :
Any suggestion for me?
Thanks.
There are several ways to solve this. You can either (a) redirect your submitted form to the paypal page on successful submission , or you could look at (b) building a paypal button on the fly when the form is being filled.
To implement solution (a) I would recommend your map your form to a custom using the Post My CF7 Form plugin. The plugin allows you to either hook into the submission process once the post is saved and integrate the paypal payment page (from PHP) using the saved fields, or you can also redirect to a confirmation page on your site with the amount to be paid and a paypal button. The advantage of saving your submission to a custom post means you can also save the paypal payment confirmation in the same post and keep a track of your payments.
For solution (b), just bind a 'change' event on your fields that affect the payment and build the paypal button url accordingly, see this answer as an example.
PS: If you wish to create a responsive grid-layout as shown in your screenshot, I would recommend the Smart Grid plugin extention to achieve a responsive grid layout that you have on your screenshot.
I'm working on a payment gateway plugin for WooCommerce and I need to edit the checkout form. When the user has selected 'Sweden' as their country, and they selected 'Klarna' as their payment method, an extra input field should appear for the user's social security number (this is totally normal in Sweden, really).
As far as I understand, the woocommerce_checkout_update_order_review action gets triggered when something changes in the checkout form. I believe I can use the woocommerce_get_country_locale filter to add the social security number field for Swedish customers. So, inside my woocommerce_checkout_update_order_review hook, I want to trigger the woocommerce_get_country_locale filter. How is this done?
Thanks in advance.
I've created a multi step form using gravity forms that I want to integrate Google checkout with.
I have the following steps:
Submit user details.
Add media.
Payment (this is where the Google checkout step would go).
Thank you.
As far as I can see Gravity forms uses jQuery to show/hide each step so on step 3 is it possible to insert a Google buynow button (that has a set price) using jQuery?
It doesn't matter if it means the client needs to manually check if the submission is paid for (i.e check the submission against the payment).
All I want to happen is the user goes through steps 1 & 2, pays at step 3 and comes back to the thank you page
Gravity forms doesn't currently offer a Google Checkout add-on (it offers Paypal) but because the submission has a single price that doesn't change, I'm wondering if there's a way to incorporate it in?
I hope you have pagebreak element to have the 4 steps of forms. In the payment part (after the second pagebreak, you can use HTML element to add your Google Checkout button.
I am developing a website selling gardening products using PHP and SQL. The user searches for a plant, finds the one they want, clicks on it for more details and there they see an option to add to cart. I have signed up to Paypal's business account and used their add to cart button. But currently, when I try it out and click the button, it doesn't do anything. Obviously this is because know variables have been passed about that specific product. What do I need to do in order to get each item into the cart?
#QUESTION:
To impliment a normal POST to pass to standard form, follow this tutorial:
http://www.evoluted.net/thinktank/web-development/paypal-php-integration
#INTEGRATED SOLUTION:
Integrated solutions will allow you to make these transactions without going offsite.
Using this method requires alot more security.
I have a website giving services for money, i just want a button goes to a paypal checkout page with a price specified by me. There is no product or service name, just website name and price. But i couldn't find something like that. I have too many different prices, so i can't create buttons for every price. Is it possible to define price as a variable in my webpage, and send paypal this? I use php.