How to integrate Razorpay Payment Gateway in WordPress - wordpress

I am planning to integrate Razorpay Payment Gateway in my client website which has been developed in WordPress in which the scenario will be as follows.
The user will fill inquiry form with his requirement.
Then depend on customer requirement owner will reply with cost and some code to customer(through mobile/email communication).
The customer will go at website's Payment Page where He/She will submit form(name,amount,code as remark and email id) which will redirect to payment gateway page.
At WordPress website the plugin (Razorpay Quick Payments) has implementation details as follows.
Add a few custom variables and some markup to a page.
Specify the amount, name, description and other custom details as page metadata.
Write [RZP] wherever you want on the post and the button to show up.
The plugin takes over and completes the payment.
I am not getting how to do all these steps.

Step 1 - Create a page and click on "Screen Options" on the top right and Select "Custom Fields" checkbox.
Step 2 - You will be able to see a new "Custom Fields" section if you scroll down the page. It contains 2 fields - name and value. Click on "Enter New".
Step 3 - Now you will be able to type in the name field, as per the requirements of Razorpay, you have to to enter these 3 values in name field -
name
description
amount
In the "value" field of "amount", you have to enter the amount in rupee you want to charge, if you want to charge INR 1000, you have to enter 1000.
Step 4 - In the main text area, type [RZP], save the page and open. You will see "Pay With Razorpay" button.
Click on the button and you will be able to see different payment options like Debit Card / Credit Card / Netbanking / UPI / Wallet.
User will have to enter their mobile number and email id to proceed with the payment.

Related

How to provide a free package/membership to users without showing them checkout page and directly activating their membership on my wordpress site?

i want that buyer to get all the perks mentioned in that membership plan for free without showing him/her any checkout page right after when that user clicks on 'FREE PLAN' button given below that plan.
And suggest me some content/information to show in the next page when that user clicks on "FREE PLAN" button.
Plus the name of that user and the particular plan's name he/she selected should be shown to me in dashboard so that i can approve manually, and the way to activate the perks of that plan for that user by myself manually.

Paypal button with custom field

I created a button like this:
I have a text field but in my test transaction I was not able to undestand where can I see this info in the payment.
Is the only way to collect this data to activate the option
'Can your customer add special instructions in a message to you?' ?
The "special instructions in a message to you" is a legacy PayPal checkout thing that not shown during checkouts anymore, so that won't actually matter whether you ahve it enabled or not.
The "Add text field" you have enabled in the above will show the entered value in the regular Transaction Details screen, and in reports or activity downloads that have enabled the option to show shopping cart or line item details (this is a checkbox when generating certain activity download reports)

Why does my email shows up in Woocommerce check out page?

I am newbie in Woocommerce.
I filled out profile information in WordPress "Customer Billing address" and "Customer Shipping address"
And when I checked the "Checkout" page, all my information was filled out.
So, I removed all my information which was in Profile, the information was gone in Checkout page. (Which is good!)
However, the email did not remove. (The profile states email is required, and whenever I go for checkout, my email shows up.)
Can anyone know how to fix this problem?
Also, what plug-ins are there that if the customer buy multiple products and calculate the shipping costs at proceed to check out page?
For example, I want to set $9.45 for maximum weight/ dimension we set and if customer buy more products, I want to add percentage more for the weight/ dimension.
Thanks,
Hi happy to read your question .
As you are seeing your profile details on checkout page because you are logged in your site as administrator so .
log out from your wordpress site then check checkout page
Regarding second issue you need add variable products in site or else use below plugin - http://codecanyon.net/item/woocommerce-shipping-calculator-on-product-page/11496815

Woocommerce: interrupt checkout just before payment step based on user roll

We are looking into adding a wholesale signup to a retail woocommerce website, and would like to make it so that if a customer is already registered as a normal retail customer (or is a new customer), and has items in their cart, and would like to apply to become a wholesale reseller during the checkout process 'that they can check a box (preferred), or press a button just before the final payment step.
I am presently using the "Woocommerce MultiStep Checkout Wizard" plugin that is ajax based, and presents the checkout steps in the following order..
Billing Details
Ship Details
View Order (with cart items and order summary)
Payment
Checking that box in step 3, or pressing that button should interrupt the checkout process and present them with an info & additional wholesale signup page with some extra user meta fields (e.g., fed tax id information, etc) that would gather any additional required information, and change their roll to something like "Wholesale Applicant", and would then postpone the final payment step (based on that specific roll), and will prevent final payment until their roll is either changed to "Wholesale Customer" (accepted), or is rejected by the shop admin. In the latter case, their roll would be manually reset to "Retail Customer".
I also am using the "Varktech Pricing Deals for Woocommerce" plugin to manage wholesale discounts based on the user's roll
An email should also be sent to the shop admin whenever a customer wants to go the wholesale route.
NOTE: the wholesale signup page should have a way to cancel and complete the payment step - in case they change their mind too.
I am not a programmer, but have searched for a plugin that could do this with no luck (so far).
I think sometimes newly added checkout/cart based plugins add/edit/update, Please (Resetting checkout fields ) follow below links
Resetting the checkout fields >>> To reset your fields back to the originals, go to WooCommerce > System Status > Tools and look for the “Checkout Fields” section. Click the ‘reset’ buttons and any customisations to your fields will be removed.
After that check all ... all for the best! ...

Custom redirection for Contact Form 7 Wordpress

I am using Wordpress with Contact Form 7. Now, I have been trying to redirect people after submission of form with regards to the package they have selected with radio buttons, below is my radio button code:
[radio Packages id:Packages "Basic - USD 99" "Basic Plus - USD 149" "Standard - USD 199" "Premium - USD 249"]
I want to redirect clients to the payment page (after submission of form) to the respective charging link.
you can pass your specific link into contact form and in that at the bottom of the page you see Additional settings
In that just pass on_sent_ok:'https://wordpress.org/plugins/contact-form-7/'
Or if you can go payment process with paypal button just pass your button code in above the additional setting "Messages".
On after the first thank you message "Your message was sent successfully. Thanks." you can paste your paypal button code
In the contact form 7 settings, replace any previous code you had in the ‘Additional Settings’ field with the following:
on_sent_ok: "location = 'http://www.example.com/thank-you/';"

Resources