From 8b93d5a6ca1c3a0f48894cb69c51820af62973cf Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 18 May 2021 13:41:51 -0500 Subject: [PATCH] Fix for credit card flow --- lib/registration.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/registration.rb b/lib/registration.rb index fc53050..6ae4ed4 100644 --- a/lib/registration.rb +++ b/lib/registration.rb @@ -220,7 +220,7 @@ class Registration def write COMMAND_MANAGER.write(@reply).then do |riq| - CreditCard.for(riq, @customer, @tel) + CreditCard.for(riq, @customer, @tel).write end end @@ -281,7 +281,7 @@ class Registration reply.note_type = :error reply.note_text = "#{reply_oob.desc}: #{reply_oob.url}" COMMAND_MANAGER.write(reply).then do |riq| - CreditCard.for(riq, @customer, @tel) + CreditCard.for(riq, @customer, @tel).write end end end -- 2.38.5