Add a service method to the Incoming Payment service in the Rafiki backend to handle receipt of a partial payment.
This service method should take an optional data parameter, which should contain data that was transmitted through the payment.
When called, the method should create a webhook event typed incoming_paymet.parital_payment_received and include the data parameter somewhere in the webhook row, and it should be encrypted symmetrically using the DB_ENCRYPTION_SECRET and the DB_ENCRYPTION_IV environment variables.
Add a service method to the Incoming Payment service in the Rafiki backend to handle receipt of a partial payment.
This service method should take an optional
dataparameter, which should contain data that was transmitted through the payment.When called, the method should create a webhook event typed
incoming_paymet.parital_payment_receivedand include thedataparameter somewhere in the webhook row, and it should be encrypted symmetrically using theDB_ENCRYPTION_SECRETand theDB_ENCRYPTION_IVenvironment variables.