It's never been called customer.id

Stephen Paul Weber created

Change summary

lib/transaction.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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