Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Leonidas Dedousis 9 posts 29 karma points
    Oct 24, 2012 @ 19:16
    Leonidas Dedousis
    0

    Paypal Integration - orderconfirmation.aspx doesn't convert basket to order

    Hello , 

    I m trying to integrate paypal to my ucommerce site. I m using sandbox account.

    The problem is that after the payment is done Paypal gives me an option to return back to my site (doesnt do automaticaly) . When I press this link paypal redirects to .../shop/checkout/orderconfirmation.aspx?orderGuid=cac73a8e-4444-4130-8db0-085c7c5c28b9 (which looks correct)

    but nothing happens after. The order stays in basket and doesnt completes.

    The orderGuid is the correct one (i v checked against the db). Nothing on the log as well . Paypal does the payment with the correct amount. the only problems are

    1)Oreder doesnt complete (stays in basket) after redirected back

    2)Wouldn`t be safer to automatically  redirected back , after the payment?

    Thank you

     

  • Nickolaj 12 posts 32 karma points
    Oct 25, 2012 @ 09:35
    Nickolaj
    0

    On the Paypal paymentMethod, is it assigned to the Checkout pipeline?

     

    Søren has also written a guide:

    http://www.publicvoid.dk/SetupUCommerceToIncludePayPalAsAPaymentMethod.aspx

  • Leonidas Dedousis 9 posts 29 karma points
    Oct 25, 2012 @ 10:24
    Leonidas Dedousis
    0

    Thank you for your reply, 

    Everything I did so far is based on Sorens Guide and yes Paypal it is assigned to the Checkout pipeline.

    There is also another issue that may have something to do with it (the postback or something).

    When I click the "add to basket button" on an item ... it does update the databse and the order in the BO .. but it doesn`t refresh the UI (SmallCart[XSLT])

    I have to do manually refresh or navigate to another page in order to see the updated basket (SmallCart[XSLT])

  • Leonidas Dedousis 9 posts 29 karma points
    Oct 25, 2012 @ 12:11
    Leonidas Dedousis
    0

    I found out that the IPN wasnt comming from paypal due to the "Authorozation" setting in paypal.config.

    I v changed this to Sale and the IPN is sent to a url formed like  /8/67/PaymentProcessor.axd 

    ( in the database a  paypal PaymentId =67 with PaymentMethodId= 8 does exists)

    when I hit this to my local browser i get this error (both on browser and log file)

     

    "Could not validate IPN from PayPal. TransactionId . 

    Request received  at /8/67/PaymentProcessor.axd. 

    Void ProcessCallback(UCommerce.EntitiesV2.Payment)    at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment)     at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)"

     

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 02, 2012 @ 09:24
    Søren Spelling Lund
    0

    Hi Leonidas,

    The setting should be left at "Authorization" as this is the default model support by uCommerce. IPNs should be transmitted regardless of the setting. I know that there has been some issues with IPNs from PayPal, which might have affected you as well.

    Could you try it out with the config set back to the original value?

  • Leonidas Dedousis 9 posts 29 karma points
    Nov 02, 2012 @ 09:36
    Leonidas Dedousis
    0

    Hello Soren,

    Thank you for your reply. 

    Related to my other issue (languages) I v decided to drop uCommerce because I need two languages and the specific project doesnt affort a full licence.(Although I dont see any developer banner or something that states a developer edition {and I can see both language tabs})

     

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 02, 2012 @ 10:08
    Søren Spelling Lund
    0

    Fair enough. Thanks for the update.

  • Marc Love 306 posts 771 karma points
    Jan 30, 2013 @ 12:49
    Marc Love
    0

    Hi Soren,

    I have the same issue as above. The order is not updating within ucommerce after completing payment via PayPal.

    Any ideas?

    Cheers,

    Marc

  • Marc Love 306 posts 771 karma points
    Feb 22, 2013 @ 13:10
    Marc Love
    0

    The order is completing now in uCommerce however the umbracoLog still shows the following error:

    Could not validate IPN from PayPal. TransactionId . Request received  at /8/116/PaymentProcessor.axd.
    Void ProcessCallback(UCommerce.EntitiesV2.Payment)
       at UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.ProcessCallback(Payment payment)
       at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)

    Should I be worried about this or is everything okay since the payment status in uCommerce has changed to Authorized?

    Cheers,

    Marc

  • Morten Skjoldager 436 posts 1492 karma points
    Feb 27, 2013 @ 10:52
    Morten Skjoldager
    0

    Well. That would depend if the order at PayPal is also authorized? 

Please Sign in or register to post replies

Write your reply to:

Draft