Thanks steve for the response.
I asked the question the wrong way.
After I post payment information to the providers url, the provider requires a url on my side where they can post back the results. From here I can get the results from the information posted by the provider and continue with processing the purchase.
How do I do this in drupal?
Thanks
On 11/21/10, Steve Power steev@initsix.co.uk wrote:
you generally pass the call back url to the payment provider, so if you define it in the menu system it can be anything you want.
On Sun, Nov 21, 2010 at 6:07 PM, Mutuku Ndeti jnmutuku@gmail.com wrote:
I am developing(rather adapting uc_echecknet) for a local payment solution. The payment solution provider posts the results back to my shopping cart to a callback url.
I am able to post data to the provider...but I am not sure which url to give the provider. Is there a stardard one or do i need to create one with the module? Any direction on how to do this?
Thanks
[ Drupal support list | http://lists.drupal.org/ ]
--
-- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Fax: +44 (0)160 421 2871 Skype: steev_initsix www.initsix.co.uk :: Initsix Heavy Engineering Limited -- This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Initsix Heavy Engineering Limited. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
Initsix Heavy Engineering Limited Registered in the UK: 5036938 Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England.
Steve's response still applies. Implement hook_menu. Provide a page callback. In the callback you can pick up the $_POST variable and continue processing.
On 11/23/2010 12:31 AM, Mutuku Ndeti wrote:
Thanks steve for the response.
I asked the question the wrong way.
After I post payment information to the providers url, the provider requires a url on my side where they can post back the results. From here I can get the results from the information posted by the provider and continue with processing the purchase.
How do I do this in drupal?
Thanks
On 11/21/10, Steve Powersteev@initsix.co.uk wrote:
you generally pass the call back url to the payment provider, so if you define it in the menu system it can be anything you want.
On Sun, Nov 21, 2010 at 6:07 PM, Mutuku Ndetijnmutuku@gmail.com wrote:
I am developing(rather adapting uc_echecknet) for a local payment solution. The payment solution provider posts the results back to my shopping cart to a callback url.
I am able to post data to the provider...but I am not sure which url to give the provider. Is there a stardard one or do i need to create one with the module? Any direction on how to do this?
Thanks
[ Drupal support list | http://lists.drupal.org/ ]
--
-- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Fax: +44 (0)160 421 2871 Skype: steev_initsix www.initsix.co.uk :: Initsix Heavy Engineering Limited -- This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Initsix Heavy Engineering Limited. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
Initsix Heavy Engineering Limited Registered in the UK: 5036938 Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England.
Please help me know what I am doing wrong. I am not getting the posted data from the payment provider.
Below is the code snippet on hook_menu()
/*implementing hook_menu() */
function uc_test_menu() { $items = array();
$items[] = array( 'path' => 'uc_test/complete', 'title' => t('test payment complete'), 'callback' => 'uc_test_complete', 'access' => user_access('access content'), 'type' => MENU_CALLBACK, );
return $items; }
/*implementing uc_test_complete(). The payment provider posts back variables "status" and "id" */
function uc_test_complete() { $status=$_POST['status']; $id=$_POST['id']; print $status; print $id; }
On 11/23/10, Christopher M. Jones cjones@partialflow.com wrote:
Steve's response still applies. Implement hook_menu. Provide a page callback. In the callback you can pick up the $_POST variable and continue processing.
On 11/23/2010 12:31 AM, Mutuku Ndeti wrote:
Thanks steve for the response.
I asked the question the wrong way.
After I post payment information to the providers url, the provider requires a url on my side where they can post back the results. From here I can get the results from the information posted by the provider and continue with processing the purchase.
How do I do this in drupal?
Thanks
On 11/21/10, Steve Powersteev@initsix.co.uk wrote:
you generally pass the call back url to the payment provider, so if you define it in the menu system it can be anything you want.
On Sun, Nov 21, 2010 at 6:07 PM, Mutuku Ndetijnmutuku@gmail.com wrote:
I am developing(rather adapting uc_echecknet) for a local payment solution. The payment solution provider posts the results back to my shopping cart to a callback url.
I am able to post data to the provider...but I am not sure which url to give the provider. Is there a stardard one or do i need to create one with the module? Any direction on how to do this?
Thanks
[ Drupal support list | http://lists.drupal.org/ ]
--
-- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Fax: +44 (0)160 421 2871 Skype: steev_initsix www.initsix.co.uk :: Initsix Heavy Engineering Limited -- This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Initsix Heavy Engineering Limited. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
Initsix Heavy Engineering Limited Registered in the UK: 5036938 Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England.
-- [ Drupal support list | http://lists.drupal.org/ ]
Which version of Drupal are you using? One possible reason could be that your syntax for hook_menu is for Drupal 5 and not Drupal 6. http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_me...
On Fri, Nov 26, 2010 at 7:36 AM, Mutuku Ndeti jnmutuku@gmail.com wrote:
Please help me know what I am doing wrong. I am not getting the posted data from the payment provider.
Below is the code snippet on hook_menu()
/*implementing hook_menu() */
function uc_test_menu() { $items = array();
$items[] = array( 'path' => 'uc_test/complete', 'title' => t('test payment complete'), 'callback' => 'uc_test_complete', 'access' => user_access('access content'), 'type' => MENU_CALLBACK, );
return $items; }
/*implementing uc_test_complete(). The payment provider posts back variables "status" and "id" */
function uc_test_complete() { $status=$_POST['status']; $id=$_POST['id']; print $status; print $id; }
On 11/23/10, Christopher M. Jones cjones@partialflow.com wrote:
Steve's response still applies. Implement hook_menu. Provide a page callback. In the callback you can pick up the $_POST variable and continue processing.
On 11/23/2010 12:31 AM, Mutuku Ndeti wrote:
Thanks steve for the response.
I asked the question the wrong way.
After I post payment information to the providers url, the provider requires a url on my side where they can post back the results. From here I can get the results from the information posted by the provider and continue with processing the purchase.
How do I do this in drupal?
Thanks
On 11/21/10, Steve Powersteev@initsix.co.uk wrote:
you generally pass the call back url to the payment provider, so if you define it in the menu system it can be anything you want.
On Sun, Nov 21, 2010 at 6:07 PM, Mutuku Ndetijnmutuku@gmail.com
wrote:
I am developing(rather adapting uc_echecknet) for a local payment solution. The payment solution provider posts the results back to my shopping cart to a callback url.
I am able to post data to the provider...but I am not sure which url to give the provider. Is there a stardard one or do i need to create one with the module? Any direction on how to do this?
Thanks
[ Drupal support list | http://lists.drupal.org/ ]
--
-- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Fax: +44 (0)160 421 2871 Skype: steev_initsix www.initsix.co.uk :: Initsix Heavy Engineering Limited -- This email and any attachments to it may be confidential and are
intended
solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not
necessarily
represent those of Initsix Heavy Engineering Limited. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email
in
error.
Initsix Heavy Engineering Limited Registered in the UK: 5036938 Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]