PayPal and Order Capturing

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
vashts1980
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Fri Apr 29, 2011 2:56 pm

PayPal and Order Capturing

Post by vashts1980 » Wed Mar 14, 2012 2:51 pm

I was wondering if there was something I was missing regardign how AbleCommerce handles PayPal. With the custom work I've done to send orders from AC into another system, all the orders that are paid by credit card go through ok, but the orders that are paid by PayPal don't trigger the integration code. What am I overlooking here? My code is triggered on the OnePageCheckout CS file in the CheckedOut() method.

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: PayPal and Order Capturing

Post by david-ebt » Wed Mar 14, 2012 3:02 pm

PayPal talks back to the Able system through call backs. If you look in your PayPal gateway setup, you'll see where defines the call back page (ProcessPayPal.ashx). PayPal call this page when it is needs to communicate back to the Able site about an order. That could be a call to say the order is complete or was cancelled, etc.

When you look in that ProcessPayPal.ashx file you won't see much. All of the processing is done in the PayPal processor provided in one of the Able DLLs.

You might also take a look at this forum post (viewtopic.php?f=26&t=14319&p=63958&hili ... der#p63958) about payment gateway integration.
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

vashts1980
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Fri Apr 29, 2011 2:56 pm

Re: PayPal and Order Capturing

Post by vashts1980 » Wed Mar 14, 2012 5:22 pm

I started checking into a few different files now, and I'm thinking perhaps I should try working with the PayPalExpressCheckout files. That seems to be what I was missing before.

vashts1980
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Fri Apr 29, 2011 2:56 pm

Re: PayPal and Order Capturing

Post by vashts1980 » Thu Mar 15, 2012 12:28 pm

Ok, all figured out. Since PayPal Express CHeckout was being used, I had to put my hook into my custom code into a different file than I was doing. With a few added lines of code into PayPalExpressCheckout.aspx.cs, I a now properly capturing the PayPal orders coming through.

Post Reply