Merge pull request #18 from ryanxcharles/bug/redirect-to-success-page
redirect to success page
This commit is contained in:
commit
df73eab316
|
@ -44,7 +44,7 @@ class Bitpay_Bitcoins_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
|
|||
'currency' => $quote->getQuoteCurrencyCode(),
|
||||
'fullNotifications' => 'true',
|
||||
'notificationURL' => Mage::getUrl('bitpay_callback'),
|
||||
'redirectURL' => Mage::getUrl('customer/account'),
|
||||
'redirectURL' => Mage::getUrl('checkout/onepage/success'),
|
||||
'transactionSpeed' => $speed,
|
||||
'apiKey' => $apiKey,
|
||||
);
|
||||
|
@ -73,4 +73,4 @@ class Bitpay_Bitcoins_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
|
|||
|
||||
return $invoice['url'].'&view=iframe';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ class Bitpay_Bitcoins_Model_PaymentMethod extends Mage_Payment_Model_Method_Abst
|
|||
'buyerName' => $order->getCustomerFirstname().' '.$order->getCustomerLastname(),
|
||||
'fullNotifications' => 'true',
|
||||
'notificationURL' => Mage::getUrl('bitpay_callback'),
|
||||
'redirectURL' => Mage::getUrl('customer/account'),
|
||||
'redirectURL' => Mage::getUrl('checkout/onepage/success'),
|
||||
'transactionSpeed' => $speed,
|
||||
'apiKey' => $apiKey,
|
||||
);
|
||||
|
@ -250,4 +250,4 @@ class Bitpay_Bitcoins_Model_PaymentMethod extends Mage_Payment_Model_Method_Abst
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue