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

Notification

Icon
Error

2 Pages12>
jorgem
#1 Posted : Sunday, November 12, 2006 5:05:37 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

I found several problems with the paypal express integration:

1) Nothing happens when paypal clicked on the ONE PAGE CHECKOUT page. Though, works ok from CART.
2) The edit link on the "Paypal Express Checkout\Checkout.aspx" page never works. I played with the setting for the checkout page on the payment options screen, but could not get this to work.
3) It doesn't seem that the PAYMENT COMPLETE workflow is called after succesful paypal purchase.
4) The shipping controls are always shown on the paypal checkout. My product doesn't require shipping -- this condition should be checked.

-- Jorge.
jetheredge
#2 Posted : Monday, November 13, 2006 12:06:08 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

1) We added some code in 5.01 that caused it to fail on this checkout. Updated.
2) It was using a bad returnURL which was causing the edit to fail.
3) This was only being called if you did authorize only on paypal checkout and then captured the funds later. This has been fixed with SP1.
4) The shipping controls always show up on paypal's checkout when using their express checkout api.
Justin Etheredge
Senior Software Engineer
BVSoftware
jorgem
#3 Posted : Monday, November 13, 2006 12:41:16 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

Quote:

4) The shipping controls always show up on paypal's checkout when using their express checkout api.


Actually, there is a page where paypal posts back to the store (it goes back to checkout.aspx). This page should only have shipping info on it, if necessary.

-- jorge.
jorgem
#4 Posted : Tuesday, November 14, 2006 3:59:08 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

Justin:

Is paypal working in SP beta 2? I seem to have the same problems: Neither the paypal button on the CART or on the ONE PAGE CHECKOUT seem to do anything.

-- Jorge.
CodeSine
#5 Posted : Tuesday, November 14, 2006 7:30:55 PM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

Yes, Can we confirm that SP1 Beta 2 has PayPal Express functioning? Since the update none of my PayPal Express buttons do anything.
TIM

BVC Add-Ons and Development
jetheredge
#6 Posted : Wednesday, November 15, 2006 9:41:59 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

It is working on our end. We did have an issue with the button on the single page checkout not working, but other than that, we have not had any issues other than the ones listed above. Are you guys seeing any errors in the event log?
Justin Etheredge
Senior Software Engineer
BVSoftware
CodeSine
#7 Posted : Wednesday, November 15, 2006 10:16:37 AM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

All I get is a page flash on either the "Cart Page" Express Checkout Button or the "Single Page" Express Checkout Button. You can see that it's transferring to PayPal in the bottom browser status field but it just goes back to the BV page.

This happend on SP1 before I realized that you had to recycle the website to get your PayPal Express information in the admin to register but now with SP2 it just doesn't work period. I've confirmed that there is no pop-up blocking on. This happens on IE 7 and FireFox.

Futher - The PayPal Express Button on Single Page Checkout is triggering the Form Validators.
TIM

BVC Add-Ons and Development
jetheredge
#8 Posted : Wednesday, November 15, 2006 10:32:35 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

In the Third Party Checkout Selected workflow, do you see a "Start Paypal Express Checkout" workflow task? Also, do you see any errors in the event log?

Here are a couple of things for you to check

1) Make sure that Paypal is not in test mode. Go To payments and select edit on the paypal express option.
2) Make sure that your site root and site secure root are correct and valid urls. These are used for return pages when sent to paypal. Anything like http://127.0.0.1 will most likely not work and return an error from paypal. Which should be logged.
3) Also, have you made any changes in your store with regards to SSL? We did fix one bug where we were always sending the secure return url to paypal.
Justin Etheredge
Senior Software Engineer
BVSoftware
jorgem
#9 Posted : Wednesday, November 15, 2006 1:32:54 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

Justin:

Nothing happens when I click paypal on either the CART or the single page checkout.

There is nothing in the event log. Paypal is not in test mode.

I have tried with both SSL enabled and disabled.

On the checkout page, this code always fails:

Code:

Dim args As New PaypalExpressCheckoutArgs()
RaiseEvent CheckoutButtonClicked(args)
If Not args.Failed Then
Dim Basket As Orders.Order = SessionManager.CurrentShoppingCart



args.Failed is always true. However, if I change it in the debugger it still doesn't work. On the CART page, this works ok.
CodeSine
#10 Posted : Wednesday, November 15, 2006 1:45:23 PM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

No errors are showing up in the Event Log.

In the 3rd Party Workflow I have the following:

Run Paypal Express Checkout
End Workflow
TIM

BVC Add-Ons and Development
jetheredge
#11 Posted : Wednesday, November 15, 2006 1:53:13 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We did have a bug where the paypal checkout button was not working from the one page checkout. But it was still working on the cart page.

Jorgem, are you seeing anything happening when you try it from the cart page?
Justin Etheredge
Senior Software Engineer
BVSoftware
CodeSine
#12 Posted : Wednesday, November 15, 2006 1:56:47 PM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

What is the difference between "Start Paypal Express Checkout" and "Run Paypal Express Checkout" in the workflow?
TIM

BVC Add-Ons and Development
jetheredge
#13 Posted : Wednesday, November 15, 2006 2:21:30 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Nothing, we just changed the name of the workflow. You can try deleting it and re-adding it to the workflow.
Justin Etheredge
Senior Software Engineer
BVSoftware
jetheredge
#14 Posted : Wednesday, November 15, 2006 2:26:30 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We actually did make a change that apparently made it into one of the betas...

On line 53 of BVModules\Controls\PaypalExpressCheckoutButton.ascx.vb change it to look like this

If Not BusinessRules.Workflow.RunByBvin(c, WebAppSettings.WorkflowIdThirdPartyCheckoutSelected) Then

see if that solves your issue.
Justin Etheredge
Senior Software Engineer
BVSoftware
CodeSine
#15 Posted : Wednesday, November 15, 2006 3:50:47 PM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

The good news: The PayPal button now works on the Cart Page once I replaced line 53.


The bad news: The PayPal button on One Page Checkout does not work and when clicking it fires all validators and produces a page like the image I've attached.
CodeSine attached the following image(s):
OPC_Validation.jpg (97kb) downloaded 21 time(s).

You cannot view/download attachments. Try to login or register.
TIM

BVC Add-Ons and Development
jorgem
#16 Posted : Thursday, November 16, 2006 6:51:01 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

I've upgraded from beta2 to SP. I'm afraid paypal express is no better, for me. I'm starting to doubt my patches. So, I may reinstall a fresh copy just to see if it works.

Anyway, on the cart.aspx and checkout.aspx page, I get an exception when I click the paypal button:
Code:

Page.IsValid cannot be called before validation has taken place. It should be queried in the event handler for a control that has CausesValidation=True and initiated the postback, or after a call to Page.Validate.


On the checkout.aspx page,
jorgem
#17 Posted : Thursday, November 16, 2006 7:06:23 PM(UTC)
jorgem

Rank: Member

Joined: 10/17/2006(UTC)
Posts: 66

I removed the call to Page.IsValid in the paypal button control, and life is good. Paypal orders working ok.

It's still a bug that the \Paypal Express Checkout\Checkout.aspx require shipping to be selected (which fails if there are no shipping options, because of the validator). But I worked around that by stripping out all the shipping code from that page.
Andy Miller
#18 Posted : Thursday, November 16, 2006 7:08:58 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
A better workaround is to add this line of code right before the Page.IsValid that is failing:

Page.Validate()

This will ensure that the data is validated before being sent to PayPal.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
jetheredge
#19 Posted : Friday, November 17, 2006 9:24:56 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Honestly the Page.IsValid shouldn't be there at all. The paypal checkout button shouldn't fire validation since it has nothing to do with what is currently on the page. you can remove the "If Page.IsValid Then" statement. This is much better than removing the validation on the page.
Justin Etheredge
Senior Software Engineer
BVSoftware
CodeSine
#20 Posted : Friday, November 17, 2006 11:21:26 AM(UTC)
CodeSine

Rank: Member

Joined: 11/18/2003(UTC)
Posts: 1,465

I thought my previously attached screen shot illustrated the problem pretty clearly but I guess this still went out in the finished SP?
TIM

BVC Add-Ons and Development
2 Pages12>
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