Thanks,
One more thing, i believe in a payment gateway account, its not possible to declare more than 1 postback URL, correct me if im wrong. I currently dont have access to our gateway account for me to check.
How do i make our existing postback URL (which was used on a different shopping cart software) to be able to execute the above mentioned process in Opencart after a purchase on Opencart was made?
One more thing, i believe in a payment gateway account, its not possible to declare more than 1 postback URL, correct me if im wrong. I currently dont have access to our gateway account for me to check.
How do i make our existing postback URL (which was used on a different shopping cart software) to be able to execute the above mentioned process in Opencart after a purchase on Opencart was made?
I doubt that you could have multiple postbacks. It does not make sense.
If you have to post the callback url to the gateway then the code looks something like the following extract from the existing opencart paypal payment extension
if the gateway has a callback setting for your customers, it needs to be something like the result of the above code, which is
If you have to post the callback url to the gateway then the code looks something like the following extract from the existing opencart paypal payment extension
Code: Select all
$ouput .= '<input type="hidden" name="notify_url" value="' . $this->url->ssl('checkout_process', 'callback', array('payment' => 'paypal')) . '" />' . "\n";
Code: Select all
http://localhost/store/index.php?controller=checkout_process&action=callback&payment=paypal
Opencart <--------------------+
|
|
script-to-process-callback.php <----- Payment Gateway
|
|
Non-Opencart shop <----------------+
Thanks!, With the workflow shown above, I will call this script http://localhost/store/index.php?contro ... aypal from script-to-process-callback.php. Correct?
Will try what you suggested
Regards!
|
|
script-to-process-callback.php <----- Payment Gateway
|
|
Non-Opencart shop <----------------+
Thanks!, With the workflow shown above, I will call this script http://localhost/store/index.php?contro ... aypal from script-to-process-callback.php. Correct?
Will try what you suggested
Regards!
Who is online
Users browsing this forum: No registered users and 2 guests