paypal returning link not working

2012-08-03 Thread ecom
hello
  does anyone know why paypal returning link not working after payment??

regards
ecom




--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/paypal-returning-link-not-working-tp5710100.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: paypal returning link not working

2012-08-03 Thread lowpass
How could anyone help you with such a vague question?

On Thu, Aug 2, 2012 at 10:06 PM, ecom letterlet...@hotmail.com wrote:
 hello
   does anyone know why paypal returning link not working after payment??

 regards
 ecom




 --
 View this message in context: 
 http://cakephp.1045679.n5.nabble.com/paypal-returning-link-not-working-tp5710100.html
 Sent from the CakePHP mailing list archive at Nabble.com.

 --
 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


RE: paypal returning link not working

2012-08-03 Thread ecom

thanks, got fixed,now
Date: Fri, 3 Aug 2012 18:08:50 -0700
From: ml-node+s1045679n5710142...@n5.nabble.com
To: letterlet...@hotmail.com
Subject: Re: paypal returning link not working



How could anyone help you with such a vague question?


On Thu, Aug 2, 2012 at 10:06 PM, ecom [hidden email] wrote:

 hello

   does anyone know why paypal returning link not working after payment??



 regards

 ecom









 --

 View this message in context: 
 http://cakephp.1045679.n5.nabble.com/paypal-returning-link-not-working-tp5710100.html
 Sent from the CakePHP mailing list archive at Nabble.com.



 --

 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.





 To unsubscribe from this group, send email to

 [hidden email] For more options, visit this group at 
 http://groups.google.com/group/cake-php
-- 

Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 

Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.



To unsubscribe from this group, send email to

[hidden email] For more options, visit this group at 
http://groups.google.com/group/cake-php











If you reply to this email, your message will be added to the 
discussion below:

http://cakephp.1045679.n5.nabble.com/paypal-returning-link-not-working-tp5710100p5710142.html



To unsubscribe from paypal returning link not working, click 
here.

NAML
  



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/paypal-returning-link-not-working-tp5710100p5710145.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP Paypal returning link not working with SSL

2012-02-28 Thread lowpass
Are you sure that the controller that handles the return action
specifically allows that action?

function beforeFilter()
{
parent::beforeFilter();
$this-Auth-allow(array('ipn', 'returning'));
}

(or whatever the actual names are)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP Paypal returning link not working with SSL

2012-02-28 Thread Sean
Thanks for the response lowpass.

The controller allows ipn, but not returning. However, after further
testing, I found that not only was I being returned to the login page,
I was actually logged out. I found this when trying to go to other
places on the site and found that it shows the login instead of my
welcome. I have a status bar at the top of all my pages that show
either a login box or a welcome showing the user's name.

On Feb 28, 2:17 pm, lowpass zijn.digi...@gmail.com wrote:
 Are you sure that the controller that handles the return action
 specifically allows that action?

 function beforeFilter()
 {
         parent::beforeFilter();
         $this-Auth-allow(array('ipn', 'returning'));

 }

 (or whatever the actual names are)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP Paypal returning link not working with SSL

2012-02-27 Thread Sean
Hello all,

I am having a problem with using Paypal API on my cakePHP site while
using an SSL. My site is entirely secured with an SSL. Everything
seems to work except for the returning link. Everything works when not
using SSL. I have both Paypal and IPN. The IPN notification works. But
when returning from Paypal, it directs to my login page instead of the
controller's returning function.

My app is accessed using https://mydomain.com

Here is some code:

From the config:


'App' = array(
'encoding'  = 'UTF-8',
'baseUrl'= '',
'base'= '',
'dir'   = 'app',
'webroot'   = 'webroot',
'name'   = 'mydomain.com',
'url'= 'https://mydomain.com',
'timezone'  = 'America/New_York',
'language'  = 'en',

From the controller:

  if(!empty($this-data)) {
if($this-appConfigurations['gateway']) {
// Formating the data
$paypal['url']  = 
Configure::read('Paypal.url');
$paypal['business'] = 
Configure::read('Paypal.email');
$paypal['lc']   = 
Configure::read('Paypal.lc');
$paypal['currency_code'] = 
$this-appConfigurations['currency'];
if (!empty($auction['Charity']['name'])) {
  $paypal['item_name'] = $auction['Auction']
['title'] . ' - Benefits: ' . $auction['Charity']['name'];
} else {
  $paypal['item_name'] = $auction['Auction']
['title'];
}
$paypal['item_number']   = $auction['Auction']['id'];
$paypal['amount']   = number_format($total, 2);
$paypal['return']   = 
$this-appConfigurations['url'] . '/
auctions/returning';
$paypal['notify_url'] = $this-
appConfigurations['url'] . '/auctions/ipn';
$paypal['custom']   = $user['User']['id'];
$paypal['first_name']   = $user['User']['first_name'];
$paypal['last_name']   = $user['User']['last_name'];
$paypal['email']  = $user['User']['email'];
$paypal['address1'] = 
$userAddress['Billing']['Address']
['address_1'];
$paypal['address2'] = 
$userAddress['Billing']['Address']
['address_2'];
$paypal['city'] = 
$userAddress['Billing']['Address']
['city'];
$paypal['zip']  = 
$userAddress['Billing']['Address']
['postcode'];

$this-Paypal-configure($paypal);
$paypalData = $this-Paypal-getFormData();
$this-set('paypalData', $paypalData);

As an alternative, I could set the app up to only use SSL for login
and registration. The problem I'm running into there is that the app
stays in HTTPS after the login, so then I run into the same problem.

Any assistance would be appreciated.

Thanks,
Sean

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php