Merge pull request #18 from ryanxcharles/bug/redirect-to-success-page

redirect to success page
This commit is contained in:
Ryan X. Charles 2013-12-16 15:51:28 -08:00
commit df73eab316
2 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ class Bitpay_Bitcoins_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
'currency' => $quote->getQuoteCurrencyCode(), 'currency' => $quote->getQuoteCurrencyCode(),
'fullNotifications' => 'true', 'fullNotifications' => 'true',
'notificationURL' => Mage::getUrl('bitpay_callback'), 'notificationURL' => Mage::getUrl('bitpay_callback'),
'redirectURL' => Mage::getUrl('customer/account'), 'redirectURL' => Mage::getUrl('checkout/onepage/success'),
'transactionSpeed' => $speed, 'transactionSpeed' => $speed,
'apiKey' => $apiKey, 'apiKey' => $apiKey,
); );

View File

@ -187,7 +187,7 @@ class Bitpay_Bitcoins_Model_PaymentMethod extends Mage_Payment_Model_Method_Abst
'buyerName' => $order->getCustomerFirstname().' '.$order->getCustomerLastname(), 'buyerName' => $order->getCustomerFirstname().' '.$order->getCustomerLastname(),
'fullNotifications' => 'true', 'fullNotifications' => 'true',
'notificationURL' => Mage::getUrl('bitpay_callback'), 'notificationURL' => Mage::getUrl('bitpay_callback'),
'redirectURL' => Mage::getUrl('customer/account'), 'redirectURL' => Mage::getUrl('checkout/onepage/success'),
'transactionSpeed' => $speed, 'transactionSpeed' => $speed,
'apiKey' => $apiKey, 'apiKey' => $apiKey,
); );