User Tag List

Results 1 to 7 of 7

Thread: Paypal integration with Get object for a cross plateform

  1. #1
    Clicker Fusion 2.5Android Export Module
    hamdi369's Avatar
    Join Date
    Feb 2015
    Location
    Strasbourg France
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Paypal integration with Get object for a cross plateform

    this mfa is connecting to the paypal api and proceed to a payment
    You will found all informationand the "how-to" in the mfa code

    this mfa (like the facebook integration) is best used as function (in a subapp) putting the paramater in global string and retrievieng their outputs
    So you can calling it as often as you need
    that why the "aspect" of those mfa are simple, they are not design to be shown but hidden

    the code only require GET so you can easily adapt to the plateform you are developping (like the fb mfa)

    you will have to set your paypaldev account, your mysql database and put some php script in your server but nothing hard to do and to configure.
    Informations are in the mfa code

    you can use my own credential for test the mfa
    just activate the line 5

    fair use of my credential = test the mfa with it so oftly you want/need to test but no bulk use
    then build the same to your own server
    Attached files Attached files

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    238
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    No download File Type: mfa paypal-manually (3).mfa‎

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The attachment works now

  4. #4
    Clicker Fusion 2.5Android Export Module
    hamdi369's Avatar
    Join Date
    Feb 2015
    Location
    Strasbourg France
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Next time I wil show you the stripe integration to alow one of your user to be paid by another

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    186
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I looked at this and found it completely confused..just a random bunch of colorful comments with different fonts and bad grammar. When I run uit theres just some more text telling me to activate line 5 in the code...which is just another bit of text.Is there even a button to call the paypal purchase? Maybe I missed something?

  6. #6
    Clicker Fusion 2.5Android Export Module
    hamdi369's Avatar
    Join Date
    Feb 2015
    Location
    Strasbourg France
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok
    first I am french language so I made it in english so everyone could understand it
    Paypal's API changed. You have to change the request to paypal API with POST request (in the mfa it was with GET) it's easy to change.
    You have to prepare your integration:
    1- have an app registred by paypal devloppers (you can use the test Api that named sandbox)
    --> you retrieve
    the
    api
    1- you have a webserver with a mysql database with too tables : paypalsuccess and paypalcancel

  7. #7
    Clicker Fusion 2.5Android Export Module
    hamdi369's Avatar
    Join Date
    Feb 2015
    Location
    Strasbourg France
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Grimmy
    It take me a lot of time and energy to made this tutorial
    ok my english is bad, I am french, but I wrote in english so everyone could understand it, it's not easy to made no grammatical error for foreign.

    Paypal API changed in 2017, and that's why the mfa don't work now, : you just have to change the request in mfa : USE POST now (in the old mfa it was with GET)

    there are prerequist
    1- you have to create a paypal devlopper app and retrieve the API credential
    ------A : user api name
    ------B : user api password
    ------C : user signature
    2- you have to have a server (website) with mysql database
    the database must have two table :
    -----A : paypalsuccess
    -----B : paypalcancel
    3- you have to put two php for writing in this database (redirected by paypal after users pay or not)
    4- you have to put two php for reading in this database (used by the mfa/exe)

    ----->>>> you find how to set up these prerequist step in the EVEN LIST EDITOR of the frame!!!
    it was the first comment : read the explanation in the frame list editor first!
    I put all fuc--- phps in....


    how it works :

    1st step
    the programm request an ACCESS TOKEN FROM PAYPAL API

    2ND STEP
    With that access token it open in the user's browser the paypal store with the item to sold

    the problem was to checking what is the user doing (cause it is in user's browser external to the mfa)

    3 step checking what is going on
    A - users is cancel before logout ----> program ends (you have to programm what happen then)
    B - users log in and cancel ----------->program ends (you have to programm what happen then)
    C - user log in and pay the item -----> go to the 4 step

    when the user is logged in its paypal we retrieve an PAYERID from paypal. we need it for the last step

    that step is by sniffing requering paypal API and our database in the same times.

    4 step

    the user paid but the money is still not in your paypal and it is not finish
    you hav to check if everything is ok and finalize the payment
    it is the method ---> do express checkout

Similar Threads

  1. Paypal integration with Get object for a cross plateform
    By hamdi369 in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 14th October 2016, 07:36 AM
  2. 3D objet cross plateform ;)
    By pit73 in forum HTML5 Export Module 2.5
    Replies: 3
    Last Post: 26th June 2013, 08:13 AM
  3. Besoin d'aide; Plateform Mouvement Object + ForEach.
    By flechenoir in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th February 2013, 03:44 PM
  4. FastLoops or ForEach Object for cross platform compatibility?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 25th March 2012, 07:42 PM
  5. Plateform Object Exemple
    By Xenon3000 in forum File Archive
    Replies: 6
    Last Post: 28th April 2010, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •