From a5f12ca400db7c4e4e84ca7234c2df3f2239fd99 Mon Sep 17 00:00:00 2001 From: Jan Kohlhof Date: Thu, 8 Mar 2018 22:02:09 +0100 Subject: [PATCH] remove misleading example. --- examples/Refund.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/Refund.php b/examples/Refund.php index 207c916..c9b7ad1 100644 --- a/examples/Refund.php +++ b/examples/Refund.php @@ -22,11 +22,6 @@ // SOFORT-API didn't accept the data echo $SofortLibRefund->getError(); } else { - // buyer must be redirected to $paymentUrl else payment cannot be successfully completed! - $paymentUrl = $SofortLibRefund->getPaymentUrl(); - header('Location: '.$paymentUrl); -} - /* echo $SofortLibRefund->getSenderHolder().'
'; echo $SofortLibRefund->getSenderBic().'
'; @@ -43,4 +38,5 @@ echo $SofortLibRefund->getStatus(0).'
'; echo $SofortLibRefund->getTime(0).'
'; echo $SofortLibRefund->getPartialRefundId(0).'
'; -*/ \ No newline at end of file +*/ +}