Go to file
jordi fita mas 302ce29e4a Add the first draft of the booking and payment forms
The form is based on the one in the current website, but in a single
page instead of split into many pages; possibly each <fieldset> should
be in a separate page/view.  The idea is for Oriol to check the design
and decide how it would be presented to the user, so i needed something
to show him first.

I hardcoded the **test** data for the customer’s Redsys account.  Is
this bad? I hope not, but i am not really, really sure.

The data sent to Redsys is just a placeholder because there are booking
details that i do not know, like what i have to do with the “teenagers”
field or the area preferences, thus i can not yet have a booking
relation.  Nevertheless, had to generate a random order number up to
12-chars in length or Redsys would refuse the payment, claiming that
the order is duplicated.

The Redsys package is based on the PHP code provided by Redsys
themselves, plus some hints at the implementations from various Go
packages that did not know why they were so complicated.

Had to grant select on table country to guest in order to show the
select with the country options.

I have changed the “Postal code” input in taxDetails for “Postcode”
because this is the spell that it is used in the current web, i did not
see a reason to change it—it is an accepted form—, and i did not want to
have inconsistencies between forms.
2023-10-19 21:37:34 +02:00
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Add the contact page, containing a map with the company location 2023-10-06 21:21:00 +02:00
demo Add the Catalonia’s Tourism Registry number to company 2023-10-14 21:59:36 +02:00
deploy Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
pkg Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
po Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
revert Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
test Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
verify Add the Catalonia’s Tourism Registry number to company 2023-10-14 21:59:36 +02:00
web Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add the list of features for campsite type 2023-10-13 20:30:31 +02:00