From 3c72d825c012e91c9b142c1a6ec5e1f770c1f51c Mon Sep 17 00:00:00 2001 From: planewalker Date: Tue, 5 Nov 2013 17:10:21 +0200 Subject: [PATCH] Fixed a bug the set returnUrl instead of notifyUrl for PayFast gateway --- src/Omnipay/PayFast/Message/PurchaseRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Omnipay/PayFast/Message/PurchaseRequest.php b/src/Omnipay/PayFast/Message/PurchaseRequest.php index cf669046..4979c7e2 100644 --- a/src/Omnipay/PayFast/Message/PurchaseRequest.php +++ b/src/Omnipay/PayFast/Message/PurchaseRequest.php @@ -51,7 +51,7 @@ public function getData() $data['merchant_key'] = $this->getMerchantKey(); $data['return_url'] = $this->getReturnUrl(); $data['cancel_url'] = $this->getCancelUrl(); - $data['notify_url'] = $this->getReturnUrl(); + $data['notify_url'] = $this->getNotifyUrl(); if ($this->getCard()) { $data['name_first'] = $this->getCard()->getFirstName();