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.

  • Mr A 216 posts 278 karma points
    Nov 06, 2012 @ 17:18
    Mr A
    0

    Razor Store doesnt works with paypal payment method

    Hi ,

    I have tried to use paypal sandbox account for payment method, but instead of navigating to paypal, it goes to confirmation page as coded in the preview.cshtml

    if (request.HttpMethod == "POST" && request.Form.AllKeys.Any(x => x == "send-order"))
        {
            TransactionLibrary.ExecuteBasketPipeline();
            TransactionLibrary.Checkout();
            HttpContext.Current.Response.Redirect("Confirmation.aspx");
    
        }

    I have followed the paypal integration manual and included all the required certificates with the modification of paypal config, and pipeline set for paypal is checkout.

    Can anyone provide any assistance , where i am getting it wrong , thanks

  • Mr A 216 posts 278 karma points
    Nov 11, 2012 @ 18:03
    Mr A
    0

    any one has done this yet ?

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 13, 2012 @ 13:12
    Søren Spelling Lund
    0

    You can change the line TransactionLibrary.Checkout() to TransactionLibrary.RequestPayments() to initiate the payment flow. I'm looking into updating the store package to have it work out of the box.

  • Mr A 216 posts 278 karma points
    Nov 13, 2012 @ 13:27
    Mr A
    0

    I tried replacing  TransactionLibrary.RequestPayments() with TransactionLibrary.Checkout() 

    Still no difference , it goes to confirmation page instead of paypal . Thanks

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 13, 2012 @ 16:18
    Søren Spelling Lund
    0

    Is your PayPal method set up like described in Setup uCommerce to Include PayPal as a Payment Method?

  • Mr A 216 posts 278 karma points
    Nov 13, 2012 @ 16:31
    Mr A
    0

    Yeh I have followed the blog of integrating paypal with ucommerce, it works though on my old website which is uses xslt version of umbraco, however the razor store doesnt navigates to paypal site. The test site is on testWebsite , you can go through the payment flow , it takes you to confirmation page instead of paypal.

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 13, 2012 @ 16:34
    Søren Spelling Lund
    0

    By the way which version of uCommerce 3 are you running specifically? The RequestPayments API was added in build 12286. The original build didn't have it.

  • Mr A 216 posts 278 karma points
    Nov 13, 2012 @ 16:41
    Mr A
    0

    I am using the latest version uCommerce 3.0.0.12306

  • Mr A 216 posts 278 karma points
    Nov 16, 2012 @ 14:50
    Mr A
    0

    Where can i find the request payment api , i am still waiting for paypal problem to be resolved. The ucommerce version i am using is uptodate , I dont if i have to upgrade the razor store , coz i have sen you have added some changes on bitbucket site for razor store package.

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

    In the preview.cshtml macro you want to change the line of code

    TransactionLibrary.Checkout() to TransactionLibrary.RequestPayments()

    and also (I forgot this step the first time around) remove the call to Response.Redirect("Confirmation.aspx"). The payment provider will redirect internally, but it only happens if no other redirects are present.

    I'm updating the store to reflect this.

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

    I've uploaded the latest versions of uCommerce 3 and the Razor Store with the fixes I mentioned implemented.

  • Mr A 216 posts 278 karma points
    Nov 19, 2012 @ 14:45
    Mr A
    0


    Thanks for the new patch release for ucommerce. I have updated the ucommerce and razor store, now its going to paypal and  gets the payment and navigate to confirmation page without clearing the basket and sending confirmation email, but the issue is now i cant see any orders on the backend new order folder , i can see the payment in payment table with paymentstatusid to 10000001 which means its awaiting for some kind of authorisation , i checked my sandbox account and accepts the payment, still i cant see updates on the purchase order table.

    Also when is the checkoutpipeline called , currenlty i cant find where this pipeline is called.

    Thanks

  • Søren Spelling Lund 1796 posts 2764 karma points
    Nov 23, 2012 @ 14:53
    Søren Spelling Lund
    0

    Upon further investigation it turns out that in this case PayPal only issues the IPN when the payment is approved in the PayPal back-end. This is typically due to config on the PayPal end of things.

  • Adam Jenkin 71 posts 226 karma points
    Dec 21, 2012 @ 16:47
    Adam Jenkin
    0

    Hi Soren / Mr A

    I am having the same issue here.

    Payment is accepted and approved in paypal but the basket is not converted to a purchase order when the user is taken from paypal back to the conformation screen.

    I have not set any IPN settings up on the buyer account (I and using a standard payments account in the sandbox, not a payment pro account). Do I need to? I cant see any details of this on the tutorial http://www.publicvoid.dk/SetupUCommerceToIncludePayPalAsAPaymentMethod.aspx and also my website is not accesible from the internet (its on my local machine).

    Thanks,

    Adam

     

     

     

  • Søren Spelling Lund 1796 posts 2764 karma points
    Jan 02, 2013 @ 14:05
    Søren Spelling Lund
    0

    Hi Adam,

    I'm looking into this issue.

    Here's what I know so far: The payment is created in the sandbox, but instead of getting the expected status of "Authorized" it lands in status "Pending". This happens regardless of the fact that any review options in PayPal are turned off or not.

    I'm still trying to determine why the sandbox is behaving like that. No changes were made to the provider on our end.

    I'll be back when I know more.

  • Adam Jenkin 71 posts 226 karma points
    Jan 07, 2013 @ 11:46
    Adam Jenkin
    0

    Thanks Soren

    I have just run my test again (to see if perhaps it was a snadbox glitch) but am still having the same issue. 

    The payment on the buyers and sellers account in the sandbox is showing as complete.

    I dont fully understand how payment conformation is handled. Does paypal need to use IPN to tell my website the payment was successfull, or does the website issue a call to paypal to query the payment when the user is re-directed back to the website on the /conformation.aspx page?

    Many thanks for your help and happy new year :)

    Adam

     

  • Søren Spelling Lund 1796 posts 2764 karma points
    Jan 09, 2013 @ 11:28
    Søren Spelling Lund
    0

    Hi Adam,

    I've got an updated version of the PayPal provider ready that you can try out. It's passed prelim internal testing.  If you're interested please shoot me an e-mail at ssl AT ucommerce DOT dk.

    Thanks.

  • Søren Spelling Lund 1796 posts 2764 karma points
    Jan 09, 2013 @ 14:38
    Søren Spelling Lund
    0

    With QA is complete the official release of uCommerce 3.0.313009 is available. Please let me know how you get on.

Please Sign in or register to post replies

Write your reply to:

Draft