Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add Modify Shipping Before Payment Method - Paypal or Credit Card (Paypal Pro)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-13-2009, 11:50 PM
 
chiactivate chiactivate is offline
 

Senior Member
  
Join Date: Feb 2007
Location: Canada
Posts: 148
 

Default Add Modify Shipping Before Payment Method - Paypal or Credit Card (Paypal Pro)

Recently installed Pay Pal Pro to process credit card payment. Unlike Pay Pal Standard, Pay Pal Pro integrates the payment process into the shopping cart.

No more redirect to the pay pal screen. You just fill in your credit card in the X-cart checkout screens.

But, there was an issue at checkout screen, where you can choose the payment method:

A. Credit card or
B. Paypal.

A. When you choose the credit card option, it will go to the next X-cart screen. You are able to modify the shipping address and name. Everything works fine here!

B. But if you choose the Pay Pal, you are not able to change the shipping address, because it will redirect you immediately to the Pay Pal screen.

What to do you if you still want to change the shipping address, before going to the Pay Pal screen?

Here is the solution :

- Add the modify shipping button at the checkout screen, where you have to choose the payment method ( credit card or Pay Pal)

Go to: /customer/main/checkout.tpl


Quote:
</FORM>

{/capture}
{include file="dialog.tpl" title="`$lng.lbl_checkout`: `$lng.lbl_step` `$checkout_step` `$lng.lbl_of` `$total_checkout_steps`" content=$smarty.capture.checkout_dialog extra="width=100%"}

{include file="buttons/modify.tpl" href="register.php?mode=update&action=cart&payment id=`$smarty.get.paymentid`"}


<P>
{if $smarty.get.mode eq "auth"}
{include file="main/error_login_incorrect.tpl"}

This is the code for "modify shipping" link:

{include file="buttons/modify.tpl" href="register.php?mode=update&action=cart&payment id=`$smarty.get.paymentid`"}


Hope this helps other folks! :P
__________________
www.ChiMassager.com
X-cart Version 4.44

www.SEOMarketing30days.com
--> Download FREE SEO marketing Ebook (valued $50)
Attract more visitors and sales with top 5 most powerful SEO marketing strategies. Converting visitors into buyers, not just traffic!
Reply With Quote
  #2  
Old 02-14-2009, 06:52 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Add Modify Shipping Before Payment Method - Paypal or Credit Card (Paypal Pro)

I'm not sure about this but I believe that PayPal will not allow you to ship anywhere except the address registered with Paypal.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:59 AM.

   

 
X-Cart forums © 2001-2020