Skip to content

Commit

Permalink
Fix typo in paddle_billing customer api_record method (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatinggoyal authored Oct 14, 2024
1 parent b5db40a commit 8df89e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pay/paddle_billing/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8df89e5

Please sign in to comment.