in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Paypalservice - order.ExtendedProperties throws error

Last post 09-06-2008 3:37 PM by Corey10e. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 05-26-2008 12:28 PM

    Paypalservice - order.ExtendedProperties throws error

    Im trying to intergrate Dash to PaypalPro - UK,  I have entered in all the API details. The site goes through all the steps but when I click on Process Order on Order Review it throws the following error:

     "Object reference not set to an instance of an object."

    On  PaypalService.cs

          expressCheckoutPaymentRequestDetails.Token = order.ExtendedProperties[PAYPAL_TOKEN].ToString();  - Line:459

     Has anyone else had this problem? And how do I get this to work?

     Cheers

  • 06-03-2008 4:03 PM In reply to

    Re: Paypalservice - order.ExtendedProperties throws error

    Has anyone got any idea whats going on with this, Iv been pulling my hair out for the past week.
  • 06-10-2008 3:22 AM In reply to

    Re: Paypalservice - order.ExtendedProperties throws error

     I'm having the same problem.  Is it something that I haven't configured properly?

  • 06-10-2008 3:35 PM In reply to

    Re: Paypalservice - order.ExtendedProperties throws error

    Look at the creation of the order (maybe in another function) and see if the extended properties are set.

    order.AddidtionalProperties = order.ExtendedProperties.ToXml()

    order.Save()

    this will correctly save the extendedproperties.

    go into the db and see if the order has any xml in the AdditionalProperties field

  • 09-05-2008 1:03 PM In reply to

    • Corey10e
    • Top 10 Contributor
    • Joined on 08-06-2008
    • Hooper, UT
    • Posts 80

    Re: Paypalservice - order.ExtendedProperties throws error

    Did you all fix this?  I am getting the same error, and I havent played with the code a bit except the shipping provider....

    Corey10e
    Jumpin Pages LLC
  • 09-05-2008 2:40 PM In reply to

    Re: Paypalservice - order.ExtendedProperties throws error

    I was having this same issue, but I was able to fix it by deleting everything in the shopping cart. I think I had some items in there while I was still configuring the site which was causing the error. hope that helps

  • 09-06-2008 3:37 PM In reply to

    • Corey10e
    • Top 10 Contributor
    • Joined on 08-06-2008
    • Hooper, UT
    • Posts 80

    Re: Paypalservice - order.ExtendedProperties throws error

    I think that may have been it... I thought i had put in a valid credit card number but I hadnt. . thats what I get for thinking I had memorized the card number.  I tested and its catching the errors correctly etc.

    Corey10e
    Jumpin Pages LLC
Page 1 of 1 (7 items)