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.

  • Jais Edelmann 45 posts 126 karma points
    Jul 27, 2012 @ 12:28
    Jais Edelmann
    0

    Paypal - Transactions ID - how to auto-capture

    Hey all, i got my site up and running now and testing some paypal integration, im using the service paypal provided by ucommerce, i've generated all the keys etc. but right now running sandbox in non secure test. (works both in secure and in my sandbox)

    However when paypal process's the transaction, shouldnt there be some form off callback to ucommerce so it updates the transaction id? or will you have to manually enter that?

    It returns to our custom build sign off page, so im wondering if i need to catch a postback from paypal and do something with it?

     

    This is my click event to open paypal:

     UCommerce.EntitiesV2.Basket _basket = UCommerce.Runtime.SiteContext.Current.OrderContext.GetBasket(true);
                var paymentMethod = PaymentMethod.SingleOrDefault(x => x.PaymentMethodId == int.Parse(this.rblPaymentMethod.SelectedValue)) ?? new PaymentMethod();
                Library.CreatePayment(paymentMethod.Id);
                if (paymentMethod.Name.ToLower().Contains("bank"))
                {
                    Library.CreatePayment(paymentMethod.Id, -1, false, true);
                    HttpContext.Current.Response.Redirect("/kurv/godkendelse.aspx");
                }
                Library.ExecuteBasketPipeline();
  • Jais Edelmann 45 posts 126 karma points
    Jul 27, 2012 @ 12:30
    Jais Edelmann
    0

    Paypal paymentmethod,name doesnet contain bank so just look away from that :)

    Also i cant seem to edit a order for track & trace etc.? I only see editation for order status? 
    (Maybe its the same problem i had earlier with this solution with the build beeing with mixed code from various version etc?) 

  • Jais Edelmann 45 posts 126 karma points
    Aug 06, 2012 @ 20:37
    Jais Edelmann
    0

    Seems to be working now i think paypal sandbox has alot of issues, just for people to beware of random error's probally caused by paypal and not your code or ucommerce

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 07, 2012 @ 10:45
    Søren Spelling Lund
    0

    The sandbox has indeed experienced a lot of issues lately. Specifically IPNs (callbacks) didn't work at all a couple of weeks back.

Please Sign in or register to post replies

Write your reply to:

Draft