Skip to content

Conversation

mariohd
Copy link
Contributor

@mariohd mariohd commented May 29, 2025

Some fixes for the Activity Logs.

 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"

@mariohd mariohd requested a review from rsempe May 29, 2025 17:55
@rsempe rsempe merged commit 22762ff into activity-logs May 30, 2025
10 checks passed
@rsempe rsempe deleted the activity-log-fixes branch May 30, 2025 08:12
rsempe pushed a commit that referenced this pull request May 30, 2025
Some fixes for the Activity Logs.


```
 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"
```
rsempe pushed a commit that referenced this pull request May 30, 2025
Some fixes for the Activity Logs.


```
 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"
```
rsempe pushed a commit that referenced this pull request Jun 2, 2025
Some fixes for the Activity Logs.


```
 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"
```
rsempe pushed a commit that referenced this pull request Jun 2, 2025
Some fixes for the Activity Logs.


```
 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"
```
rsempe pushed a commit that referenced this pull request Jun 4, 2025
Some fixes for the Activity Logs.


```
 "billable_metric.created" => OK
 "billable_metric.updated" => OK
 "billable_metric.deleted" => OK
 "plan.created" => OK
 "plan.updated" => OK
 "plan.deleted" => OK
 "customer.created" => OK
 "customer.updated" => OK
 "customer.deleted" => OK
 "invoice.drafted"
 "invoice.failed"
 "invoice.created"
 "invoice.one_off_created" => FIXED OK
 "invoice.paid_credit_added"
 "invoice.generated" => OK
 "invoice.payment_status_updated" => OK
 "invoice.payment_overdue"
 "invoice.voided" => OK
 "invoice.payment_failure"
 "payment_receipt.created" => FIXED OK / *** PaymentReceipt does not have a customer associated
 "payment_receipt.generated" => FIXED OK / *** same as "payment_receipt.created"
 "credit_note.created" => OK
 "credit_note.generated" => OK
 "credit_note.refund_failure" => FIXED OK
 "billing_entities.created"
 "billing_entities.updated"
 "billing_entities.deleted" => NOT IMPLEMENTED
 "subscription.started" => OK
 "subscription.terminated" => FIXED OK
 "subscription.updated" => OK
 "wallet.created" => OK / *** Front has to fix ".id" to use ".lago_id" or use wallet ".name"
 "wallet.updated" => OK / *** same as "wallet.created" 
 "wallet_transaction.payment_failure"
 "wallet_transaction.created" => OK / *** same as "wallet.created" 
 "wallet_transaction.updated" => FIXED OK / *** same as "wallet.created" 
 "payment.recorded" => FIXED OK / *** The activity_object is a Payment. Resouce can be an Invoice or PaymentRequest. Front expects to activity_object to have "invoice_number".
 "coupon.created" => OK
 "coupon.updated" => OK
 "coupon.deleted" => OK / *** Maybe add "coupon.terminated" ?
 "applied_coupon.created" => OK / *** Front is broken, it expects activity_object have ".code" but its ".coupon_code" 
 "applied_coupon.deleted" => OK / *** same as "applied_coupon.created"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants