Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1281 posts 3992 karma points MVP 8x c-trib
    Oct 21, 2013 @ 16:24
    Bjarne Fyrstenborg
    0

    Capture payment from Tea Commerce with PayPal

    Hi guys..

    What is expected to happen, when clicking "capture payment" button in transaction tab on a new order?
    Right now I have tested with some orders in sandbox mode and when a new order is created the payment state is Authorized.

    I have activated IPN in PayPal and set the following url: http:// mydomain.dk/base/TC/PaymentCallbackWithoutOrderId/{storeId}/PayPal/{paymenMethodtId}

    I now sure that it is set correct?

    After clicking on "capture payment" button in Tea Commerce the payment state is changed to a blank value and the buttons is removed. Should there be any feedback in a label after this or?

    I'm not sure if it should work in sandbox mode.. or am I doing something wrong?

    /Bjarne

  • Anders Burla 2560 posts 8256 karma points
    Oct 21, 2013 @ 16:29
    Anders Burla
    0

    Hi Bjarne

    It looks right. Try and check your AppData/Logs files to see if anything pops up about PayPal. That might give us an idea. Because it should work in sandbox mode.

    Kind regards
    Anders

  • Bjarne Fyrstenborg 1281 posts 3992 karma points MVP 8x c-trib
    Oct 21, 2013 @ 16:50
    Bjarne Fyrstenborg
    0

    Hi Anders

    I have completed a new order and used capture payment button now and checked the log file, but I don't see any message about PayPal or a error message.. only info message at this time..

    Should the payment state change to something if it is going to succeed? or write a message in a label?

    /Bjarne

  • Anders Burla 2560 posts 8256 karma points
    Oct 22, 2013 @ 10:42
    Anders Burla
    0

    Depending on the Umbraco version - then maybe the logs is in the DB. We have a try catch around all the paypal capture stuff - so if an error happens it should 100% be logged somewhere :)

    The payment state should change if everything goes well. So if its not changed - then an error has happend.

    Kind regards
    Anders

  • Bjarne Fyrstenborg 1281 posts 3992 karma points MVP 8x c-trib
    Oct 22, 2013 @ 15:04
    Bjarne Fyrstenborg
    0

    I have upgraded from the latest starterkit version to Umbraco v. 6.1.6 ..

    I hace checked the log file in App_Data/Logs/ and umbracoLog table .. but I don't see a error related PayPal..

    Do you have time to take a look at it if I send you a backup of the website?

    /Bjarne

  • Anders Burla 2560 posts 8256 karma points
    Oct 22, 2013 @ 15:07
    Anders Burla
    0

    Hi Bjarne

    Because it is the payment provider, then you can download the source code and build it using Visual Studio and attach the debugger and see what happens. So give the debug process a chance :)

  • Bjarne Fyrstenborg 1281 posts 3992 karma points MVP 8x c-trib
    Oct 22, 2013 @ 18:34
    Bjarne Fyrstenborg
    0

    Hi Anders

    Okay, I might take a look at at to see if I can find where it goes wrong..

    I this the source code you are refering to? https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers/src

    I guess it's should be the same code as in Tea Commerce v. 2.2.0?

  • Anders Burla 2560 posts 8256 karma points
    Oct 23, 2013 @ 08:34
    Anders Burla
    0

    TC 2.2 runs the latest code from bit bucket. So you can just clone the code using your favorite mercurial client.

Please Sign in or register to post replies

Write your reply to:

Draft