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 +*/ +}