PayPal Gateway and Order Number

Jul 8, 2009 at 1:40 PM

So I have set up my store to point to the live paypal site and I am successful in soing transactions, however, my order status never moves from Waitinf for Bank.  I have also noticed that my Order Number is not being populated.  When in the flow is this set?  I have run other tests and it has set in the past but it is not now.  I am also seeing the instance where once I complete my order through paypal, I am being dropped back to the homepage of my site as opposed to my returnUrl from the gateway settings.

 

Any help out there?

Coordinator
Jul 8, 2009 at 1:51 PM

Hi,

This sounds like your return URL and your IPN url are not valid.

This first thing to check is if you type in the return url into the brwser, does it goto the checkout page or the home page?

NOTE: The order number and order status are set by the autoresponse IPN url, if this is not setup then the return URL should set the ordernumber and status.

Also which version of the paypal provider are you using the one installed with the store or the download one from codeplex? (either should work fine!)

Regards,

Dave

 

Jul 8, 2009 at 2:15 PM

I am using the gateway that was installed with NB_Store. Here is my XML from the settings

<root>
<paymentURL>https://www.paypal.com/xclick</paymentURL>
<verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>
<PayPalID>sales@srprc.com</PayPalID>
<CartName>MyCart</CartName>
<ButtonImageURL>http://www.srprc.com/dnn/Desktopmodules/NB_Store/img/paypal60x38.gif</ButtonImageURL>
<Currency>USD</Currency>
<ReturnURL>http://www.srprc.com/dnn/Cart/tabid/272/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>
<ReturnCancelURL>http://www.srprc.com/dnn/Cart/tabid/272/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>
<ReturnNotifyURL>http://www.srprc.com/dnn/Cart/tabid/272/stg/4/Default.aspx</ReturnNotifyURL>
<MerchantLanguage>en</MerchantLanguage></root>

When I try any of the return URLs it sends me to the homepage

Here is the link to my store: http://srprc.com/dnn/Store/tabid/59/Default.aspx

How do I set the autoresponse IPN url.  is this through PayPal or DNN?

 

Thanks for the help.


Roger

 

 

Jul 8, 2009 at 2:19 PM

so by looking at this, I can see that my return URls are not the same URL as my store.  I have updated all /Cart/ Urls to /Store but still no dice.  it has to be somewhere else.

 

 

Coordinator
Jul 8, 2009 at 2:35 PM

Hi,

I've had a quick look at your store and your cart url is:

http://srprc.com/dnn/Store/ShoppingCart/tabid/60/Default.aspx

Therefore I would expect the paypal settings to be:

<root>
<paymentURL>https://www.paypal.com/xclick</paymentURL>
<verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>
<PayPalID>sales@srprc.com</PayPalID>
<CartName>MyCart</CartName>
<ButtonImageURL>http://www.srprc.com/dnn/Desktopmodules/NB_Store/img/paypal60x38.gif</ButtonImageURL>
<Currency>USD</Currency>
<ReturnURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>
<ReturnCancelURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>
<ReturnNotifyURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/4/Default.aspx</ReturnNotifyURL>
<MerchantLanguage>en</MerchantLanguage></root>

 

the IPN in paypal needs to be set to the "ReturnNotifyURL" urls, if you activate the IPN in your paypal account, this is not essential, but I would recommend it, otherwise you may get people paying, but not returning to the store.  In which case the order will not looked payed in the store, but actually they have payed, but simply not returned to the store. (Or indeed being disconnected just after paying).

 

Regards,

Dave.

Jul 8, 2009 at 3:15 PM
Thanks.  That did it

On Wed, Jul 8, 2009 at 10:36 AM, leedavi <notifications@codeplex.com> wrote:

From: leedavi

Hi,

I've had a quick look at your store and your cart url is:

http://srprc.com/dnn/Store/ShoppingCart/tabid/60/Default.aspx

Therefore I would expect the paypal settings to be:

<root>
<paymentURL>https://www.paypal.com/xclick</paymentURL>
<verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>
<PayPalID>sales@srprc.com</PayPalID>
<CartName>MyCart</CartName>
<ButtonImageURL>http://www.srprc.com/dnn/Desktopmodules/NB_Store/img/paypal60x38.gif</ButtonImageURL>
<Currency>USD</Currency>
<ReturnURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>
<ReturnCancelURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>
<ReturnNotifyURL>http://srprc.com/dnn/Store/ShoppingCart/tabid/60/stg/4/Default.aspx</ReturnNotifyURL>
<MerchantLanguage>en</MerchantLanguage></root>

 

the IPN in paypal needs to be set to the "ReturnNotifyURL" urls, if you activate the IPN in your paypal account, this is not essential, but I would recommend it, otherwise you may get people paying, but not returning to the store.  In which case the order will not looked payed in the store, but actually they have payed, but simply not returned to the store. (Or indeed being disconnected just after paying).

 

Regards,

Dave.

Read the full discussion online.

To add a post to this discussion, reply to this email (NBStore@discussions.codeplex.com)

To start a new discussion for this project, email NBStore@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com