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

Populating all Verisign Payflow Pro values.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 10-28-2005, 02:16 PM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default Populating all Verisign Payflow Pro values.

cc_verisign.php leaves out a lot of verisign's values.
here is how to make everything thats missing go to the right place.

open (xcart directory)/payment/cc_verisign.php

add
Code:
$post[] = "BILLTOCOUNTRY=".$userinfo["b_country"]; $post[] = "SHIPTOSTREET=".htmlspecialchars($userinfo["s_address"]); $post[] = "SHIPTOZIP=".$userinfo["s_zipcode"]; $post[] = "SHIPTOFIRSTNAME=".htmlspecialchars($userinfo["s_firstname"]); $post[] = "SHIPTOLASTNAME=".htmlspecialchars($userinfo["s_lastname"]); $post[] = "SHIPTOCITY=".htmlspecialchars($userinfo["s_city"]); $post[] = "SHIPTOSTATE=".$userinfo["s_state"]; $post[] = "SHIPTOCOUNTRY=".$userinfo["s_country"]; $post[] = "TAXAMT=".$cart["tax_cost"]; $post[] = "FREIGHTAMT=".$cart["shipping_cost"];

right after

Code:
$post = array(); $post[] = "USER=".htmlspecialchars($vs_user); $post[] = "VENDOR=".$vs_vendor; $post[] = "PARTNER=".$vs_partner; $post[] = "PWD=".$vs_pwd; $post[] = "TRXTYPE=S"; $post[] = "TENDER=C"; $post[] = "ACCT=".$userinfo["card_number"]; $post[] = "EXPDATE=".$userinfo["card_expire"]; $post[] = "AMT=".$cart["total_cost"]; $post[] = "CVV2=".$userinfo["card_cvv2"]; $post[] = "STREET=".htmlspecialchars($userinfo["b_address"]); $post[] = "ZIP=".$userinfo["b_zipcode"]; $post[] = "FIRSTNAME=".htmlspecialchars($userinfo["b_firstname"]); $post[] = "LASTNAME=".htmlspecialchars($userinfo["b_lastname"]); $post[] = "CITY=".htmlspecialchars($userinfo["b_city"]); $post[] = "STATE=".$userinfo["b_state"]; $post[] = "EMAIL=".$userinfo["email"]; $post[] = "PONUM=".substr(join("",$secure_oid), 0, 17); $post[] = "COMMENT1=".$userinfo["firstname"]." ".$userinfo["lastname"]; $post[] = "COMMENT2=".$an_prefix.join("-",$secure_oid);

might not serve a purpose for most. but if you have billing/shipping mismtach filters, this is definitely needed.
also just looks better having all the info in the correct fields.
__________________
4.2.2
Reply With Quote
  #2  
Old 10-28-2005, 06:27 PM
 
jsa jsa is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 197
 

Default

Nice, thanks. I may need this soon.

Does X-Cart play nice with Verisign when all the Payflow security features are turned on, btw?

I've had trouble with other carts not understanding the security related result codes. Some carts won't let the customer finish the checkout process, when they have indeed been charged. It ends up being a mini-nightmare when I have all the filters turned on.
__________________
Building: X-Cart GoldPlus 4.6.1
Old cart:
XC 4.0.17 FComp-RMA-AOM-OFF-Affil
BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS
FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought
CM: eZConversion
XP: SalesRecovery, MultCrncy
Reply With Quote
  #3  
Old 10-28-2005, 06:34 PM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default

yeah everything seems to work fairly well.

i dont allow customers to have a different ship to. so everything is checked via AVS. i have the avs setting set to light and the cvv set to medium.

seems to work ok for me so far.
__________________
4.2.2
Reply With Quote
  #4  
Old 10-28-2005, 06:37 PM
 
jsa jsa is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 197
 

Default

Quote:
Originally Posted by bobbyftk
yeah everything seems to work fairly well.

i dont allow customers to have a different ship to. so everything is checked via AVS. i have the avs setting set to light and the cvv set to medium.

seems to work ok for me so far.

Oh, do you have the filters reject orders outright, not review?

I just review everything, and call them if enough pieces look out of place. It's the review bit that keeps sending people back to their cart over and over (other carts), even though they've been charged. If X-Cart parses the "accepted, but under security review" response from Payflow properly, it'll be dream!

Thanks for responding so fast.
__________________
Building: X-Cart GoldPlus 4.6.1
Old cart:
XC 4.0.17 FComp-RMA-AOM-OFF-Affil
BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS
FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought
CM: eZConversion
XP: SalesRecovery, MultCrncy
Reply With Quote
  #5  
Old 10-28-2005, 06:45 PM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default

yeah i dont mess with review, because then your just asking for a mess.

your customer is going to be either accepted, or rejected. so just reject them outright.
__________________
4.2.2
Reply With Quote
  #6  
Old 10-28-2005, 06:49 PM
 
jsa jsa is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 197
 

Default

Quote:
Originally Posted by bobbyftk
yeah i dont mess with review, because then your just asking for a mess.

your customer is going to be either accepted, or rejected. so just reject them outright.

awh, that's a bummer. thanks for letting me know.

See, I can see rejecting them outright for AVS, but not all the other stuff...

like living in a high crime area, or shipping to a mail boxes, etc., and all the other things Verisign can detect. I bought the advanced security package, and there's like 50 things it checks... it's really good, but if I set the bulk of them to reject instead of review, i'd throwing good money away.
__________________
Building: X-Cart GoldPlus 4.6.1
Old cart:
XC 4.0.17 FComp-RMA-AOM-OFF-Affil
BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS
FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought
CM: eZConversion
XP: SalesRecovery, MultCrncy
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 07:15 PM.

   

 
X-Cart forums © 2001-2020