From 8df89e543be0ca3d8679e42ef5cd46bf8bac0816 Mon Sep 17 00:00:00 2001 From: Jatin Goyal Date: Mon, 14 Oct 2024 22:20:09 +0530 Subject: [PATCH] Fix typo in paddle_billing customer api_record method (#1088) --- app/models/pay/paddle_billing/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pay/paddle_billing/customer.rb b/app/models/pay/paddle_billing/customer.rb index c3151a2a..344f4452 100644 --- a/app/models/pay/paddle_billing/customer.rb +++ b/app/models/pay/paddle_billing/customer.rb @@ -24,7 +24,7 @@ def api_record pc else pc = ::Paddle::Customer.create(email: email, name: customer_name) - update!(processor_id: sc.id) + update!(processor_id: pc.id) pc end rescue ::Paddle::Error => e