Give Me Cake

CakePHP Baking, Internet Marketing, SEO, Design and more

Paypal PDN Integration No shipping address for Credit Card Payment

Posted on | November 28, 2009 | No Comments

Default delivery address for Paypal Transactions is the Billing Address(which has to be the credit card holder’s address to prevent triggering fraud checks). Paypal allows user to specify another address when confirming the purchase. The website has already captured a shipping address on the checkout pages. The addresses captured and reflected in paypal’s system and notification email could be different from the ones captured by the website. To prevent the user from overriding the shipping address captured in paypal. Add in no_shipping = 1.

<input type=”hidden” name=”cmd” value=”_cart” />
<input type=”hidden” name=”no_shipping” value=”1″ />
<input type=”hidden” name=”upload” value=”1″ />
<input type=”hidden” name=”business” value=”<?php echo Configure::read(’paypal.paypal_biz’) ?>” />
<input type=”hidden” name=”return” value=”http://<?php echo DOMAIN.$html->url(’/payments/completed/’.$order_id)?>” />

Great Resources

Posted on | November 26, 2009 | No Comments

http://jeez.eu/2009/09/26/web-3-0-will-be-all-about-web-services-learn-the-basics/
http://jeez.eu/2009/11/23/using-apis-with-php-here-are-your-classes/
http://www.noupe.com/tools/fresh-web-development-goodies-bag-2.html
http://ideone.com/
http://www.abtests.com/
http://www.bidsketch.com/tour/ – I gotta have it soon!

Notes for migrating Cakephp 1.2.0.5427 to 1.2.5

Posted on | November 26, 2009 | No Comments

Steps for migrating CakePHP to 1.2.5.

  1. Update Core CakePHP files
  2. Replace findByFieldName, findAllByFieldName with find(’first’, $param) and find(’all’, $param)
    findBy* methods are replaced with find($type, $param)
  3. $html->input replace with $form->input
    Form inputs comes in a new helper
  4. var $helpers = array(’Html’, ‘Form’);
    Include FormHelper in $helpers
  • Give me Cake?

    Givemecake.dev-work.com a collection of web application development tips, tutorials and resources.
  • See Your Ads Here

  • See Your Ads Here

  • Meta