Table of Contents |
---|
...
Woo Commerce allows to the setup of various payment methods. Here we will explain how to set up Pay Pal payments.
Replace the ReDi Restaurant Reservation plugin
By the link that we provide after the addon purchase, you will receive a version of the ReDi Restaurant Reservation plugin, that has to be replaced.
Install Pre-Payment addon
Once the pre-payment addon is delivered, please install it the same way as you install any plugin to WordPress and activate it. Similar to Woo Commerce installation that is described below.
...
Check that the following 3 pages are created after installation, if not created them and add shortcodes to them
Cart page
Title: Cart
[woocommerce_cart]
Checkout page
Title: Checkout
[woocommerce_checkout]
Thank you page
For thank you page additional plugin needs to be installed GET Params
Title: Thank you for your reservation
Example of URL, last part must be exactly the same as shown: http://catzsoft.ee/reservationdiary/prepayment/ your_page_website_url/reservation-thank-you/
Text on the page:
...
Field | Value | Comments |
Name | Reservation | Any name |
SKU | Reservation | Important, this is the key name to work with plugin |
SKU | ReservationForKids | This product to charge separately for kids |
SKU | Reservation-2022-03-25 | Define SKU with date if you have a special event and you need to collect different amount per reservation on that specific day |
Price | $5 | Any price per reservation |
Virtual | True | Should be true for this kind of products |
guests | 5 | Optional product attribute. If number of guests in reservation is less that specified in product, then there will be no prepayment |
custom_field_name | field_7739 | Name of custom field to check |
custom_field_value | true | Value of custom field when pre-payment has to be applied |
Visibility | Public | |
Catalog visibility: | Hidden |
Setup PayPal payments
Go to Settings
Set Enable PayPal standard, enter the title, description, and PayPal email
...