• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

James England (Resposio)
#1 Posted : Wednesday, May 13, 2015 4:11:59 PM(UTC)
James England (Resposio)

Rank: Member

Joined: 5/12/2015(UTC)
Posts: 6

Thanks: 2 times
I'm working on a BV migration from 5.2 to 2015 and ran into a compiler error.


Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'PaymentIdGoogleCheckout' is not a member of 'BVSoftware.Bvc5.Core.WebAppSettings'.

Source Error:

Line 54: 'we don't send a new order e-mail if they are using google checkout
Line 55: For Each payment As Orders.OrderPayment In context.Order.Payments
Line 56: If payment.PaymentMethodId = WebAppSettings.PaymentIdGoogleCheckout Then
Line 57: Return False
Line 58: End If

Source File: E:\Webs\(COMPANY)\(WEBSITEBV2015)\WWW\App_Code\CustomEmailOrder.vb Line: 56


Was curious as to next steps or how to proceed.

In the tutorial BV2015 upgrade page (http://www.bvcommerce.com/blog/post/2015/03/02/Upgrading-to-BV-Commerce-2015) #"Upgrading from 5.6 or below"
"....With 5.7 there were some performance changes to the URL rewriting functions in the Core. Specifically the BuildUrlForCategoryfunction in the BVSoftware.Bvc5.Core.Utilities.UrlRewriter class takes an additional parameter called allCats which is a collection of Category objects containing all of the store categories"

Example:
OLD CODE:
Dim destinationLink As String = Utilities.UrlRewriter.BuildUrlForCategory(c, Me.Page)
NEW CODE:
Dim destinationLink As String = Utilities.UrlRewriter.BuildUrlForCategory(c, Me.Page, Catalog.Category.FindAll())

It's probably not this problem specifically but it may be something as simple as this. Where would I go about making those edits in BV2015 in order to make this existing bit compliant (if indeed this is the case)?

Thank you very much for your kind assistance in this matter.
Aaron
#2 Posted : Wednesday, May 13, 2015 4:42:05 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,381
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: James England (Resposio) Go to Quoted Post
I'm working on a BV migration from 5.2 to 2015 and ran into a compiler error.


Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'PaymentIdGoogleCheckout' is not a member of 'BVSoftware.Bvc5.Core.WebAppSettings'.

Source Error:

Line 54: 'we don't send a new order e-mail if they are using google checkout
Line 55: For Each payment As Orders.OrderPayment In context.Order.Payments
Line 56: If payment.PaymentMethodId = WebAppSettings.PaymentIdGoogleCheckout Then
Line 57: Return False
Line 58: End If

Source File: E:\Webs\(COMPANY)\(WEBSITEBV2015)\WWW\App_Code\CustomEmailOrder.vb Line: 56


Was curious as to next steps or how to proceed.

First, it looks like this is some custom code, and it will need to be updated for BVC 2015 compatibility. It's referencing Google Checkout which has been removed from BVC 2015 since Google discontinued it. It looks like the fix is to just remove lines 56-58.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
 1 user thanked Aaron for this useful post.
James England (Resposio)
#3 Posted : Wednesday, May 13, 2015 4:49:36 PM(UTC)
James England (Resposio)

Rank: Member

Joined: 5/12/2015(UTC)
Posts: 6

Thanks: 2 times
Thanks, Aaron! This fix worked.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012