Go to file
jordi fita mas b2ee4dfea3 Add marshal_payment and unmarshal_booking functions
The idea is that we will marshal the payment, send it to the campsite’s
instance by email, and then unmarshal it as a booking, that way we can
have a one way replication from the internal to the public instance with
a way back to send the payments.

For testing purposes, i just create the booking in the same instance.

Had to change the booking relation’s permissions to allow insert from
a guest, much like for payments, because the notification from Redsys
comes as a guest connection.  I need this even with all the
marshal/unmarshal shenanigans because not everyone will have an internal
instance, thus need to allow bookings from guest connections.
2024-04-29 20:59:22 +02:00
cmd/camper Increase HTTP timeout 2024-03-05 12:05:00 +01:00
debian Include weasyprint as dependency of camper package 2024-04-28 21:47:44 +02:00
demo Add customer and invoices sections 2024-04-28 20:28:45 +02:00
deploy Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
pkg Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
po Allow to create the customer to invoice “in flight” 2024-04-28 22:36:21 +02:00
revert Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
test Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
verify Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
web Fix null problems 2024-04-28 22:49:04 +02:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
go.mod Add customer and invoices sections 2024-04-28 20:28:45 +02:00
go.sum Add customer and invoices sections 2024-04-28 20:28:45 +02:00
guix.scm Add Guix package definition 2024-01-28 18:12:38 +01:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00