PayPal and Order Capturing
-
- Lieutenant Commander (LCDR)
- Posts: 98
- Joined: Fri Apr 29, 2011 2:56 pm
PayPal and Order Capturing
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.
Re: PayPal and Order Capturing
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.
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.
-
- Lieutenant Commander (LCDR)
- Posts: 98
- Joined: Fri Apr 29, 2011 2:56 pm
Re: PayPal and Order Capturing
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.
-
- Lieutenant Commander (LCDR)
- Posts: 98
- Joined: Fri Apr 29, 2011 2:56 pm
Re: PayPal and Order Capturing
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.