~singpolyma/sgx-jmp

ef6cc23e8b6f8c2efd81cd463ce6f6906592d7ff — Stephen Paul Weber a month ago a0c9834
Submit for settlement

We'd like to actually get the money, not just be allowed to.
1 files changed, 2 insertions(+), 1 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +2 -1
@@ 365,7 365,8 @@ command :execute?, node: "buy-credit", sessionid: nil do |iq|
		)
		BRAINTREE.transaction.sale(
			amount: iq.form.field("amount").value.to_s,
			payment_method_token: payment_method.token
			payment_method_token: payment_method.token,
			options: { submit_for_settlement: true }
		)
	}.then { |braintree_response|
		raise braintree_response.message unless braintree_response.success?