Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Well, we removed the validation from the button, but we weren't seeing the issues with the Page.IsValid. The error that says "Page.IsValid cannot be called before validation has taken place." was not occurring on our end for some reason. Either we had our page setup so that the errors were not occurring, or something we changed later affected it. But we would not have shipped the service pack if we knew that this issue was still in it. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 5/22/2004(UTC) Posts: 64
|
I am also having issues with this. Is there a fix or can someone help me decipher this thread and remove the offending line. Thank you.
Dan
|
|
|
|
Rank: Member
Joined: 5/22/2004(UTC) Posts: 64
|
Anyone's help would be appreciated and most likely unrewarded. Thanks.
Dan
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Hi, sorry for the delay in responding. In the BVModules\Controls\PaypalExpressCheckoutButton.ascx.vb file on line 25 you can remove the "if Page.IsValid then" statement. But you must also make sure that you remove the cooresponding End If at the end of the statement. The EndIf is on line 69, right before the End Sub. Let us know if you need any more help! |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Is the Paypal Express Checkout fully functional?
I'm getting a runtime error no matter where I click in SP1 final.
|
|
|
|
Rank: Member
Joined: 5/22/2004(UTC) Posts: 64
|
Scott,
Did you remove the lines:
In the BVModules\Controls\PaypalExpressCheckoutButton.ascx.vb file on line 25 you can remove the "if Page.IsValid then" statement. But you must also make sure that you remove the cooresponding End If at the end of the statement. The EndIf is on line 69, right before the End Sub. Then I would delete and re-add the paypal express workflow. I think thats what solved this issue and mine appears to be working fine now.
Dan
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hello Scott. Dan's issue was resolved and seems to be running without any issues.
Try this:
Modify the "Third Party Checkout" workflow. Remove the "Run Paypal Express Checkout" and add the "Start Paypal Express Checkout". See if this resolves the issue.
If not, can you post the error you're getting? |
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Nick, tried that no luck, error is posted on the other thread.
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Dan but were you getting the same error I posted on the other thread? Seems related to the IsPageValid deal...just want to make sure before I go monkeying with the files.
|
|
|
|
Rank: Member
Joined: 5/22/2004(UTC) Posts: 64
|
Honestly I don't really know if that was in the log. I just noticed that clicking the button did not do anything.
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Dan I think we probably have related but different issues. I'm waiting to hear back on the ticket with more specific information. If a fix is found or it is something I am doing wrong I'll post back either way.
This is a hard error I'm getting but it is no doubt related to the validation based on the error log. For now I just disabled Paypal express until a solution is found.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
Do you mean no matter where you click on cart.aspx or on one of the PayPal Express Checkout pages (on PayPal's site)? |
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Andy everything works great until I click on one of the Paypal express buttons. Doesn't matter where that button is located.
Check your email (support email)...I just sent the information. Feel free to dig further, whatever you need let me know. If it helps snuff out a potential problem for others I'm game. This isn't a critical feature for me but I'd like to have it work.
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hey Scott, did you try Justin's suggestion for removing the "If Page.IsValid Then" and the "End If"? |
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
Fixed. Why don't you make this a hotfix as it's going to present to everyone/anyone that uses the function?
I commented out those two lines and the problem is resolved.
|
|
|
|
Rank: Member
Joined: 9/21/2004(UTC) Posts: 23
|
HI guys I just say that you guys are dealing with Commerce 5 Bug Reports I have paypalexpress on bv2004 but can not find the PaypalExpressCheckoutButton.ascx.vb sdource files.
I need to get to that to debug an error.
Where can I get this |
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
The PaypalExpressCheckoutButton.ascx.vb is not in BV2004. The paypal setup in BV2004 is completely different from BVC5. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
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.