close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Payment Pro - Express Checkout Issue

Thread began 9/04/2012 10:19 pm by ccdantas101117 | Last modified 9/11/2012 10:39 am by Jason Byrnes | 973 views | 6 replies |

ccdantas101117

Payment Pro - Express Checkout Issue

Hello to you all.
I have a custom shipping calculation based on the eCart_shipping_country, and dynamically values comes from a recordset based on the country code. when the option is pay by credit card all runs nicely, the shipping is added accordingly, but if the user opt by express checkout and go to paypal sign in when the user comes back to the site the session is created but is not pulling the shipping prices from the recordset. What am i doing wrong?

I tested the session echoing it and it is there.

attached is the pp_confirm page code.

Thanks for your help in advance.

Carlos

Attached Files
pp_confirm_for_ninjasite.zip
Sign in to reply to this post

Jason ByrnesWebAssist

no way to tell what is wrong without some troubleshooting.

to help troubleshoot, find this code block:

php:
<?php

if (!session_id()) session_start();
if((
$row_rsBaseShip['ShipInc'] != ""))     {
  
$_SESSION["Increment"] = "".$row_rsBaseShip['ShipInc']  ."";
}
?>




and change it to this:

php:
<?php

if (!session_id()) session_start();
if((
$row_rsBaseShip['ShipInc'] != ""))     {
  
$_SESSION["Increment"] = "".$row_rsBaseShip['ShipInc']  ."";
}
?>
<?php
echo("SQL: ".$query_rsBaseShip."<br />");
echo(
"BaseRate: "$_SESSION["BaseRate"] . "<br />");
echo(
"Increment: "$_SESSION["Increment"] . "<br />");
?>



this will output the session values and the recordset SQL to the page, post this information back along with a screen shot showing the shipping rule settings.

Sign in to reply to this post

ccdantas101117

PP Confirm Page with result

Hi Jason,

Thanks for your reply.
I did as you instructed and i got the results when come back from PayPal. See Attached zip.

Zip file contains:
Print screen
Source Code Page Result
Source Page Code from my DW (You will see the code you sent inserted)

Attached Files
wa_forum_post.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Please include a screen shot showing how the shipping rules are defined in the eCart object.

Sign in to reply to this post

ccdantas101117

Cart Code Attached

Hello Jason
Cart code attached in txt file

Attached Files
nbinja_cart_object.txt
Sign in to reply to this post

ccdantas101117

BTW Shipping rules works when pay with card

Originally Said By: ccdantas101117
  Hello Jason
Cart code attached in txt file  


The shipping rule works when the pay with card is selected. Problem only happens when the Express Checkout is chosen.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...