YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

OS Commerce paypal code Options
edward
#1 Posted : Friday, January 24, 2003 2:53:30 AM
Rank: Starting Member

Groups: Registered

Joined: 1/24/2003
Posts: 1
Location: ,
We need clarification from PayPal: We use oscommerce with php codes as follows $paypal_return = urlencode($HTTP_POST_VARS['payment'] . '|' . $HTTP_POST_VARS['sendto'] . '|' . $shipping_cost . '|' . urlencode($shipping_method) . '|' . urlencode($comments) . '&' . SID); $checkout_form_action = 'https://secure.paypal.com/xclick/business=' . rawurlencode(PAYPAL_ID) . '&item_name=' . rawurlencode(STORE_NAME) . '&amount=' . number_format(($total_cost + $total_tax),2) . '&shipping=' . number_format($shipping_cost, 2) . '&return=' . urlencode(HTTP_SERVER . DIR_WS_CATALOG . FILENAME_CHECKOUT_PROCESS . '?paypal_return=' . $paypal_return); to perform customer payment. Does PayPal expect the codes? What should be the stored in the variables?
Sponsor  
 
paypal_pb
#2 Posted : Friday, January 24, 2003 4:10:10 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
"https://secure.paypal.com" should be "https://www.paypal.com".

It looks OK otherwise.

If you are comfortable installing a module, I believe the PayPal IPN contribution is more up-to-date.

Also, the OSC forums are good: http://forums.oscommerce.com

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Users browsing this topic
Guest
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.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.129 seconds.