Paying for Order after Leaving Payment Page

Ben Bricker asked on February 2, 2016 17:36

Hello,

I was wondering if there was any capability to return to the payment page to pay for an order where the payment hasn't been received yet. I know you can view the orders from the my account page, but there is no way to return to the payment page and complete the order that I can find.

I have this page set up as our payment page: http://hospicefoundation.org/Testing/TempMaster/Payment-Page.aspx?o=27415122

I see the o=27415122 parameter, and I'm assuming this is what tells the payment page which order is being paid for. I can't tell where this parameter comes from though. It doesn't match the order number or any values in the Order database.

Any help would be appreciated.

Thank you!

UPDATE: For anyone else looking for how to do this, Joshua's answer got me pointed in the right direction, to another post of his that worked perfectly. Here is the link: http://devnet.kentico.com/questions/pay-for-order-if-payment-page-is-closed

Correct Answer

Joshua Adams answered on February 2, 2016 19:36

This should get you where you need to be:

string orderHash = ShoppingCart.GetHashCode().ToString();
WindowHelper.Add(orderHash, oi.OrderID);
1 votesVote for this answer Unmark Correct answer

Recent Answers


Ben Bricker answered on February 3, 2016 16:16

Thank you Joshua! That got me pointed in the right direction and I also found another answer of yours on another thread. Much appreciated!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.