Try our conversational search powered by Generative AI!

Order ID or hash cannot be empty! - PayPal payment transaction

Vote:
 

Hi,

Anyone help me to give the details of the below error:

" Order ID or hash cannot be empty"

I am getting this error after the EPiServer commerce version update in to 9.21.

The error is appear after the sucessfull paypal payment action, steps are

* After clicking place order, the page redirected to the pay pal page

* After paypal payment confirmation again redirected to the merchant site

* The page landing in to my commerce site URL (here I got the error " Order ID or hash cannot be empty" )

http://epidemo.salzerinfo.com/other-pages/paypal-payment-processor/?accept=true&hash=616c71274661736221d01bcc99c1303d&token=EC-28U2728011469821M&PayerID=KQU8Q3YVMXFK2

I am using "Diagram.EPiServerCms.Commerce.Payment.PayPal (version 0.2)" for PayPal method

 

#154951
Edited, Sep 04, 2016 12:54
Vote:
 

Hi Palani,

That is most likely due to the order ID in the PayPalTemplate.aspx being empty.

Here is a link to the source code of that page which you can add to your project to debug further: https://dl.dropboxusercontent.com/u/541404/PayPalTemplate.zip

Rename the file, add to your project, and set default to true in the template descriptor attribute. Then you can attach to inspect futher.

Also, I would recommend grabbing the source the provider from http://world.episerver.com/download/Items/Episerver-Commerce/episerver-commerce-9-payment-providers/ and remove that package, as we no longer support it.

-Brad

#155068
Sep 08, 2016 14:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.