bluego78 Posted August 6, 2012 Share Posted August 6, 2012 Hi! I'm developing a new payment with credit card to a bank. It works but i've a problem. The bank needs the order number to be sent during the payment, but i've not... at the moment, i send the cart_id to the bank, but cart id is not aligned with order_id. For example, a cart_id 65 makes order 50, so in prestashop the order is 50 but in my bank transaction the order id is 65.. it's a problem because i can't associate the transaction to the order ... what can i do? I don't know the order_id til the order was complete. Help me please!! Link to comment Share on other sites More sharing options...
bellini13 Posted August 6, 2012 Share Posted August 6, 2012 it will take a good amount of customization, but it sounds like you would have to create an order prior to sending the payment transaction to the bank. you can create a new status, like "pending payment" and when the bank responds then instead of creating the order, you just change the status to "payment accepted" I am over simplifying this, but in theory that is what you need to do. I should ask however, why is it important that the bank receive the order Id? Provided the Cart Id, you could associate it to the order Id. Link to comment Share on other sites More sharing options...
bluego78 Posted August 6, 2012 Author Share Posted August 6, 2012 Thank you, your idea is really good but it takes so much time... It's not important for the bank, the cart_id is enough but when an operator of the e-commerce admin the orders, it's hard to conduct the payment to the correct order... and... the bank send a confirmation to the customer with the order id, that is the cart id.. Link to comment Share on other sites More sharing options...
bellini13 Posted August 6, 2012 Share Posted August 6, 2012 it should be quite easy to take the cart id from the bank, go to the customer->shopping carts section of the back office, and locate the associated order. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now