~singpolyma/jmp-pay

b4fbb789485223e1653700a4eb771cdaf252c0f8 — Stephen Paul Weber 1 year, 5 months ago a5fbd9e
Work even with no plan
1 files changed, 4 insertions(+), 1 deletions(-)

M config.ru
M config.ru => config.ru +4 -1
@@ 99,7 99,10 @@ class CreditCardGateway
	end

	def merchant_account
		BRAINTREE_CONFIG[:merchant_accounts][customer_plan[:currency]]
		plan = customer_plan
		return unless plan

		BRAINTREE_CONFIG[:merchant_accounts][plan[:currency]]
	end

	def client_token