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.

  • kristian schneider 190 posts 351 karma points
    Sep 24, 2012 @ 14:41
    kristian schneider
    0

    CreatePayment() does not redirect to payment provider

    On my payment page I have the following:

    @using UCommerce.EntitiesV2
    @{
        var paymentMethod = PaymentMethod.SingleOrDefault(x => x.Name == "Paypal");
        UCommerce.Xslt.Library.CreatePayment(paymentMethod.Id);
    }
    @paymentMethod.Name

    I can see that it finds my Paypal payment method, but nothing happens after this.

    How can I debug this?

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 26, 2012 @ 08:50
    Søren Spelling Lund
    0

    Do you have an active basket available?

    Which version are you using?

     

  • kristian schneider 190 posts 351 karma points
    Sep 26, 2012 @ 09:10
    kristian schneider
    0

    Hi Søren.

    The version is 2.6.1.0.

    I reckon I have an active basket since I've been through the other steps. How can I check that? 

    /Kristian

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 26, 2012 @ 09:34
    Søren Spelling Lund
    1

    Do you have a "service" configured for you "payment method"?

    Also could you check the table uCommerce_Payment and see if a new payment is created for you?

  • kristian schneider 190 posts 351 karma points
    Sep 26, 2012 @ 10:07
    kristian schneider
    0

    Ha!

    The service was not set. Stupid me.

    Thanks for the pointer.

    /Kristian

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 26, 2012 @ 10:11
    Søren Spelling Lund
    0

    No problem. Glad it's working now.

Please Sign in or register to post replies

Write your reply to:

Draft