From 5c3936f39c19bda55e2e528c83408be5104c64f0 Mon Sep 17 00:00:00 2001 From: vagrant Date: Thu, 21 May 2015 07:15:27 +0000 Subject: [PATCH] Revert "parameter return_url should have config return_url value" This reverts commit 8004eea16a6aa5cdfc7898962ac2ea8f0536cac9. --- src/bb-library/Payment/Adapter/TwoCheckout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bb-library/Payment/Adapter/TwoCheckout.php b/src/bb-library/Payment/Adapter/TwoCheckout.php index fe17564e3..d0595f3b6 100644 --- a/src/bb-library/Payment/Adapter/TwoCheckout.php +++ b/src/bb-library/Payment/Adapter/TwoCheckout.php @@ -314,7 +314,7 @@ class Payment_Adapter_TwoCheckout implements \Box\InjectionAwareInterface $data['merchant_order_id'] = $invoice['id']; - $data['return_url'] = $this->config['return_url']; + $data['return_url'] = $this->config['redirect_url']; $data['x_receipt_link_url'] = $this->config['redirect_url']; $data['fixed'] = 'Y'; $data['skip_landing'] = 1; @@ -368,7 +368,7 @@ class Payment_Adapter_TwoCheckout implements \Box\InjectionAwareInterface $data['merchant_order_id'] = $invoice['id']; - $data['return_url'] = $this->config['return_url']; + $data['return_url'] = $this->config['redirect_url']; $data['x_receipt_link_url'] = $this->config['redirect_url']; $data['fixed'] = 'Y'; $data['skip_landing'] = 1;