Hi all,
I need to build an application in the next few days that uses PayPal to process a simple one time payment.
Can someone outline the steps to do so & any issues I am likely to encounter?
I didn't want to garbage up the recent thread of a request for AwareIM plug-in.
Thanks in advance!
PayPal integration
PayPal integration
Tom - V8.8 build 3137 - MySql / PostGres
Re: PayPal integration
Well Tom, I'm in the same boat starting to do Paypal integration. So, if I find anything useful, I'll make sure I'll share it here.tford wrote:Hi all,
I need to build an application in the next few days that uses PayPal to process a simple one time payment.
Can someone outline the steps to do so & any issues I am likely to encounter?
I didn't want to garbage up the recent thread of a request for AwareIM plug-in.
Thanks in advance!
-
- Posts: 2405
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: PayPal integration
I purchased Rocketmans solution back in February.
It is comprehensive and works albeit I have not integrated yet in an app.
http://www.awareim.com/forum/viewtopic. ... bscription
Given my disgust at the pathetic service I have not received from Paypal of late, I contacted BrainTree and received over night a delightful and positive response to all my questions.
I am optimistically looking forward to a long, happy and profitable relationship with them.....
</cynicism off>
<skepticism on>
It is comprehensive and works albeit I have not integrated yet in an app.
http://www.awareim.com/forum/viewtopic. ... bscription
Given my disgust at the pathetic service I have not received from Paypal of late, I contacted BrainTree and received over night a delightful and positive response to all my questions.
I am optimistically looking forward to a long, happy and profitable relationship with them.....
</cynicism off>
<skepticism on>
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: PayPal integration
As you probably know Aware IM supports PayPal integration out-of-the-box (see Library sample application). Why not use it?
Aware IM Support Team
Re: PayPal integration
Support, as you and I had discussed this subject a while ago (I have the emails in case you want them), the most important thing missing, is that, Aware does not catch when Paypal has not returned back to Aware (in case user closed the browser or didn't click on the button to return back). All other platforms, they provide both cases to developer to make proper actions.aware_support wrote:As you probably know Aware IM supports PayPal integration out-of-the-box (see Library sample application). Why not use it?
This is very essential for us to detect that the user didn't return back. We don't know if payment was made or not. We don't know how to update database. This is the biggest shortcoming with Aware's implementation.
I explained this in details to you before and suggested to catch the failed case and you said "It makes sense".
If you can fix this, it will be a HUGE safety and avoids many payment problems between us and customers.
This would be my only request to fix this problem PLEASE.
Paypal DOES provide a bridge for either case. Aware only uses the successful bridge and not failed bridge.
Thanks!
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: PayPal integration
You can control this in the application itself - set some status before giving an object to PayPal and then set another status if the user has returned. You would then know when the user hasn't returned (the status will not have been changed). Then periodically collect and destroy such objects.
If the user didn't return from PayPal there is no way for the system to know this fact.
If the user didn't return from PayPal there is no way for the system to know this fact.
Aware IM Support Team
Re: PayPal integration
I actually do this right now. As a Sales Transaction gets created, the status becomes "Payment Pending", if the user does return back, the Process changes the status to "Payment Completed" and the subscription gets renewed, email sent. However, if a customer does pay but doesn't return, the status remains the same, while the customer is waiting for renewal. So, we manually have to check every "Payment Pending" and go to Paypal system and search to see if that transaction was paid or not. If yes, we manually have to do the rest of the process. If not delete the transaction.aware_support wrote:You can control this in the application itself - set some status before giving an object to PayPal and then set another status if the user has returned. You would then know when the user hasn't returned (the status will not have been changed). Then periodically collect and destroy such objects.
If the user didn't return from PayPal there is no way for the system to know this fact.
We're trying to minimize these manual checking.
The ultimate solution would be to support PayPal's REST API to avoid all these.
Re: PayPal integration
Thanks for the feedback everyone!
Support -- thanks for the reminder about the Library application. I've now reviewed both the BSV and the Library Case Study pdf and it looks fairly straight forward.
Ben -- good to hear that you've got an app up and running similar to the Library app even though there might be an even better solution in the future.
Support -- thanks for the reminder about the Library application. I've now reviewed both the BSV and the Library Case Study pdf and it looks fairly straight forward.
Ben -- good to hear that you've got an app up and running similar to the Library app even though there might be an even better solution in the future.
Tom - V8.8 build 3137 - MySql / PostGres
Re: PayPal integration
It's still in development and testing, but getting there nicely, thanks to Aware IM. Mobile is next.tford wrote:
Ben -- good to hear that you've got an app up and running similar to the Library app even though there might be an even better solution in the future.
Re: PayPal integration
Tom, here are the two forms that performs the "Paypal checkout" UI we did, in case you want to get some ideas.tford wrote: Ben -- good to hear that you've got an app up and running similar to the Library app even though there might be an even better solution in the future.
Hope this helps!
Re: PayPal integration
Thanks for the UI tips, Ben. That will no doubt save me some time.
Tom - V8.8 build 3137 - MySql / PostGres
Re: PayPal integration
Much appreciate it, especially coming from you.hpl123 wrote:VERY nice Ben, kudos!
Re: PayPal integration
No problem Sir, hope it helps!tford wrote:Thanks for the UI tips, Ben. That will no doubt save me some time.
Re: PayPal integration
Hi Guys, first, thanks to Mark for the kind words. I keep meaning to do some updates to that app but in the meantime, my two penneth,
The PayPal app has a very comprehensive set of tools and post backs which it would be great if AwareIM could find a way of integrating. Unfortunately, the out of box PP integrating is way too simplistic, whereas it ought to be a world beater as befits an otherwise awesome package.
In reality all it needs is for AwareIM to be able to accept a callback from PP (even after the client browser has been closed) and insert the callback data into a special BO. . We as developers could then interrogate that BO as required. Unless things have changed, I believe it's called IPN (instant payment notification). There are literally dozens of shopping carte apps out there that have done this integration. This is not a "nice to have" feature... It's an absolute MUST
The PayPal app has a very comprehensive set of tools and post backs which it would be great if AwareIM could find a way of integrating. Unfortunately, the out of box PP integrating is way too simplistic, whereas it ought to be a world beater as befits an otherwise awesome package.
In reality all it needs is for AwareIM to be able to accept a callback from PP (even after the client browser has been closed) and insert the callback data into a special BO. . We as developers could then interrogate that BO as required. Unless things have changed, I believe it's called IPN (instant payment notification). There are literally dozens of shopping carte apps out there that have done this integration. This is not a "nice to have" feature... It's an absolute MUST
Rocketman
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5