~singpolyma/jmp-pay

775653861d12d07777ac349e5818597c46677199 — Stephen Paul Weber 3 years ago 2512322
Transaction id must be unique
1 files changed, 2 insertions(+), 2 deletions(-)

M bin/process_pending_btc_transactions
M bin/process_pending_btc_transactions => bin/process_pending_btc_transactions +2 -2
@@ 157,8 157,8 @@ class Plan
	protected

		def charge_insert_notify
			@customer.add_transaction(
				"activate_#{name}_until_#{@go_until}",
			return unless @customer.add_transaction(
				"activate_#{@customer.id}_#{name}_until_#{@go_until}",
				-price,
				"Activate pending plan"
			)