close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UK Paypal Payments Pro - No UPS Shipping

Thread begun 6/17/2009 6:27 am by mousework50137 | Last modified 6/25/2009 5:51 am by mousework50137 | 4419 views | 8 replies |

mousework50137

UK Paypal Payments Pro - No UPS Shipping

I am setting up a Powerstore with Paypal Website Payments Pro but UK not US.

I have entered the necessary details into the globals file.

I have ecart, and most of the other extensions that webassist provide, but I am unsure where I make the change to UK version.

Also is there anything else I should do, other than changing tax rate to 0.15, and currency symbol to £ in the Powerstore files.

I have also removed the shipping rule from the ecart Object on the checkout.php page, and then on the confirm.php page removed the [php] yellow block next to shipping on the cart display. Can't see any UPS server behavior entry in the server behavious palette, have I done this correctly.

thanks
Mark

Sign in to reply to this post

Ray BorduinWebAssist

You would have to edit the local checkout server behavior on the confirm.php page and change it from "Paypal Direct Payments" to "Paypal Payments Pro UK" and redo the settings.

Search the source code on the page for USPS and see if it is still there and delete the code where it is referenced if you find it.

Sign in to reply to this post
Did this help? Tips are appreciated...

mousework50137

I cannot locate a checkout server behavior on the confirm.php page.
I thought powerstore took direct payments through PayPal.
Sorry,
mark

Sign in to reply to this post

Ray BorduinWebAssist

Powerstore uses paypal direct payments. Which is integrated just like any other local checkout solution in eCart.

You should be able to find it... search your confirm page code for "Paypal"... it should only appear in the code chunk that handles local checkout... remove it and apply local checkout with the payment provider of your choice.

Sign in to reply to this post
Did this help? Tips are appreciated...

mousework50137

Hello Ray
Can I just clarify what I'm trying to achieve and where I am currently.
I am trying to get a payment through PayPal web Payment Pro UK, in pounds sterling GBP.
Currently the form on the checkout.php page will not work, but if I click on the 'Checkout with PayPal' button the transaction will go through, BUT when I look at my PayPal account and the email confirmation I receive, the payment has been converted into USD, with a resulting drop in price because of the conversion rate.

I have gone through the confirm.php page and all I can see in the code about paypal, with reference to you earlier comment, is .....

?>
<?php
if ($WAGLOBAL_Test_Mode != true) {
?>
<?php
require_once("WA_eCart/Checkout/paypal.php");
?>
<?php
}

I logged a support ticket regarding this see ticket 100022
The person replying to this said I would have to regenerate pages.
I am really confused and don't have the skill to do this.

Could you advise further please, all details for logging into the live site are in the ticket.

I have wasted so much time on this now, and my client is getting very frustrated.

It would be nice to see a few localised versions of this solution in the future, a UK based one would be great, just a suggestion.

thanks
mark

Sign in to reply to this post

Ray BorduinWebAssist

Right... open up the page:

WA_eCart/Checkout/paypal.php

Then you will see on lines 46-47:

$PP_DirectPayment_required[0][$nextIndex] = "Currency";
$PP_DirectPayment_required[1][$nextIndex] = "USD";

update it to GBP.

Same thing on pp_confirm.php... lines 286-287:

$WA_PP_ECO_Do_optional[0][$nextIndex] = "Currency";
$WA_PP_ECO_Do_optional[1][$nextIndex] = "USD";

same thing. Then the last place is on the checkout page... lines 55-56 for me but I might have a different version:


$WA_PP_ECO_Set_params[0][$nextIndex] = "Currency";
$WA_PP_ECO_Set_params[1][$nextIndex] = "USD";

same update. That should get your currency working.

Sign in to reply to this post
Did this help? Tips are appreciated...

mousework50137

Ray,
Thats absolutely fantastic!
Thanks so much.

I have made the adjustments you suggested above and the PayPal button now works and a receipt comes through in GBP.

I have removed the form from below the button as that was not working, and if this PayPal button is working I see no need. Every thing writes back into the database correctly.

One last issue, for some reason it is now not displaying or showing the UK VAT Tax rate (15%). It did before when it was USD.

The tax rate is still in the eCart definition, and active, but not showing in pp_confirm.php or on orders.

Same with a charge of £2.99 for postage, it's in the eCart but not showing on invoice and pp_confirm.php page or on orders.

Many thanks for you help, nearly there.

Sign in to reply to this post

Ray BorduinWebAssist

I don't think simply changing the currency would have any effect on the tax charge.

I would have to look into it more to see why it isn't working but I can't imagine it has anything to do with the update you just made.

Sign in to reply to this post
Did this help? Tips are appreciated...

mousework50137

hello ray,
I've sorted this issue thanks.
It was to do with how the tax element was setup, some calculation going on with tax,

eCartCheckoutForm_shipping_state_province ..... CA

remove this and set to just a flat rate and all works fine now,

thanks again for your help,
mark

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...