Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

1 Follower

About Urbluffingme

  • Birthday 07/15/1972

Profile Information

  1. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    Would you mind posting instructions how to do this in this forum? I am having issues with International CC users and I believe this solve them. Thanks.
  2. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    Nevermind. I got I got it working. I must have screwed something up this time. It works perfectly. Thanks alot!!!
  3. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    This didn't work either. In the payment page, I now get a shopping cart which has the item and order total as $0 and the item total and shipping total are both set to $0. But the email and the shipping address are now transferred. by the way, I checked the payment page from the previous fix and the shipping total didnt transfer in that one either.
  4. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    I tried this and there is no change. My code looks like this: //If they're still here, and awake, set some of the order object's variables $order->info['cc_type'] = $cc_type; $order->info['cc_number'] = substr($cc_number, 0, 4) . str_repeat('X', (strlen($cc_number) - 8)) . substr($cc_number, -4); $order->info['cc_owner'] = $cc_first_name . ' ' . $cc_last_name; $order->info['cc_expires'] = $cc_expdate_month . substr($cc_expdate_year, -2); //It's time to start a'chargin. Initialize the paypal caller object $caller = $this->paypal_init(); $ot =& Services_PayPal::getType('BasicAmountType'); $ot->setattr('currencyID', $wpp_currency); $ot->setval(number_format($order->info['total'], 2)); // Begin ItemTotal -- WILLBRAND // $it =& Services_PayPal::getType('BasicAmountType'); $it->setattr('currencyID', $wpp_currency); $it->setval(number_format($order->info['subtotal'], 2)); // End ItemTotal -- WILLBRAND // // Begin ShippingTotal -- WILLBRAND // $st =& Services_PayPal::getType('BasicAmountType'); $st->setattr('currencyID', $wpp_currency); $st->setval(number_format($order->info['shipping_cost'], 2)); // End ShippingTotal -- WILLBRAND // // Begin ShippingAddress -- WILLBRAND // $sat =& Services_PayPal::getType('AddressType'); $sat->setName($order->delivery['firstname'] . ' ' . $order->delivery['lastname']); $sat->setStreet1($order->delivery['street_address']); $sat->setStreet2($order->delivery['suburb']); $sat->setCityName($order->delivery['city']); $sat->setPostalCode($order->delivery['postcode']); //Paypal only accepts two character state codes if (strlen($order->delivery['state']) > 2) { $state_query = tep_db_query("SELECT zone_code FROM " . TABLE_ZONES . " WHERE zone_name = '".$order->delivery['state']."'"); if (tep_db_num_rows($state_query) > 0) { $state = tep_db_fetch_array($state_query); $order->delivery['state'] = $state['zone_code']; } else { $this->away_with_you(MODULE_PAYMENT_PAYPAL_DP_TEXT_STATE_ERROR); } } $sat->setStateOrProvince($order->delivery['state']); $sat->setCountry($order->delivery['country']['iso_code_2']); // End ShippingAddress -- WILLBRAND // // Begin PaymentDetailsItem -- WILLBRAND // /* This isn't carry over item information. I need to look into this further. -- WILLBRAND */ $pdit =& Services_PayPal::getType('PaymentDetailsItemType'); $pdit->setName($order->products['name']); $finalprice =& Services_PayPal::getType('BasicAmountType'); $finalprice->setattr('currencyID', $wpp_currency); $finalprice->setval(number_format($order->products['final_price'], 2)); $pdit->setAmount($finalprice); $pdit->setNumber($order->products['id']); $pdit->setQuantity($order->products['qty']); // End PaymentDetailsItem -- WILLBRAND // $pdt =& Services_PayPal::getType('PaymentDetailsType'); $pdt->setOrderTotal($ot); //-- Begin PaymentDetailType MATT WILLBRAND --// $pdt->setItemTotal($it); $pdt->setShippingTotal($st); $pdt->setShipToAddress($sat); $pdt->setPaymentDetailsItem($pdit); //-- End PaymentDetailType MATT WILLBRAND --// $at =& Services_PayPal::getType('AddressType'); $at->setStreet1($order->billing['street_address']); $at->setStreet2($order->billing['suburb']); $at->setCityName($order->billing['city']); $at->setStateOrProvince($order->billing['state']); $at->setCountry($order->billing['country']['iso_code_2']); $at->setPostalCode($order->billing['postcode']);
  5. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    Oh. sorry. I thought this meant there was a fix for it.
  6. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    Hi. can you please pm me this fix if it is at all possible . I can use it right away. THanks, UBM
  7. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    There is another contribution out there for wpp that has this functionality, but it has bugs when used with downloads and no support thread. I nead a module that works with downloads. I am pretty sure that this information is passed to paypal using XML. Can you tell me what files this contribution uses to pass its information to paypal. I can probably figure it out from there. Thanks.
  8. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    So basically, if you use their Direct Payments, you can't use their automatic shipping labels?
  9. Urbluffingme

    PayPal WPP Direct Payments & Express Checkout Support

    Hi. I installed this contribution and it works great. I used this support forum to iron out ALL my issues except one. I have the cart set up so that a customer must register an account with the site before he checks out. I know this is not compliant with paypal's tos, but this is how my client wants it. He didn't even want the paypal express checkout button on the payment page. It was confusing his customers who were entering their credit card numbers and then clicking the express checkout button to continue. So, I enabled the paypal module that comes stock with osC and use Direct pay for credit card processing. I know this is mad, but again, this is what the client wants. Anyway, the problem I am having is that when a customer places an order and uses Direct Pay to pay with credit card, the shipping address is not showing up on the order page in paypal. Is this how it is supposed to be or can I fix it?
  10. What happened to this contribution's support thread? Is it me or does the search function on these forums deliver TOTAL misses to your queries?
  11. Urbluffingme

    Which is the best contrib to use with WPP

    After some testing and aspirin I decided to come back and answer my own question just in case someone is actually reading it. I installed a contribution called: PayPal Website Payments Pro OSCommerce Payment Module. It sucks. It has a bug in it that dissalows you to pay with cc because it throws an error "The city is missing in the shipping address." And there is absolutely NO SUPPORT for it. I am going to use the contrib by dynamoeffects. It seems to be the way to go.
  12. Urbluffingme

    PayPal Website Payments Pro - v0.1

    Rat, Curl is a module for PHP that must be loaded by your webhost. contact them and ask them to install the Curl Libraries.
  13. I was wondering which is the best contribution to use with Paypal's Website Payments Pro? I downloaded wpp.04 and that seems good, but involved. Ipn seems much easier. I was wondering if it a get-what-you-pay-for type of situation, where the easier one would be buggier, less secure, etc... Any ideas?
  14. what I am trying to do is set up a donation as a product. First off, I don't want to set the price as $1 and then have the donator adjust the quantity accordingly and I don't want to use paypal. I want a product named donation that has an input field for the amount in the product listing. The donator will spicify the amount they want to donate and when they click "Donate" that amount will be added to the cart. Can someone help me figure this one out? As always, any help would be greatly appreciated. Kevin
  15. Urbluffingme

    My Ups and Usps modules stopped working

    If you call the number in the email that usps sent you, they can do a a test to see if it is on their side. I called them and they said that it working fine, but it was still a no go on my site. If you contact usps and they say you are good, CONTACT YOUR HOST. What could it hurt?