alexcraciun Posted August 14, 2013 Share Posted August 14, 2013 Hello! I am trying to implement a new pay by card module. I already have one from a card payment processor, but I want to install one from another card payment processor, as this second one has monthly installments. The module from the first one has the returnUrl built in: 'http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id_cart='.intval($params['cart']->id).'&id_module='.intval($this->id) The tech guys from the second one are asking me for this returnUrl, I should give them a link and choose between GET and POST. Could you help me on this? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 14, 2013 Share Posted August 14, 2013 This URL will redirect the customer to the order history page, assuming the order was created successfully. Assuming you are redirecting to their server, you would need to create a separate php file which will check that the order was approved, and then create the order in Prestashop. Link to comment Share on other sites More sharing options...
Recommended Posts