camper/pkg/payment
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
..
admin.go Use pre-authorization to accept payment, rather than charge 2024-03-24 22:06:59 +01:00
public.go Add marshal_payment and unmarshal_booking functions 2024-04-29 20:59:22 +02:00
settings.go Add the admin page to see payments 2024-02-14 04:54:42 +01:00