lib/transaction.rb 🔗
@@ -34,7 +34,7 @@ class Transaction
if payment_method
{ payment_method_token: payment_method.token }
else
- { customer_id: customer.id }
+ { customer_id: customer.customer_id }
end
)
end
Stephen Paul Weber created
lib/transaction.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -34,7 +34,7 @@ class Transaction
if payment_method
{ payment_method_token: payment_method.token }
else
- { customer_id: customer.id }
+ { customer_id: customer.customer_id }
end
)
end