scenarios/customer_capture_hold/request.rb in balanced-0.7.4 vs scenarios/customer_capture_hold/request.rb in balanced-0.7.5
- old
+ new
@@ -1,3 +1,3 @@
<%= boiler_plate %>
customer = Balanced::Customer.find('<%=request['uri']%>')
-customer.debit(:amount => '<%=payload['amount']%>', :hold_uri => '<%=payload['hold_uri']%>')
+customer.debit(:amount => <%=payload['amount']%>, :hold_uri => '<%=payload['hold_uri']%>')