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

Making Apps Better

Posted on | September 23, 2009 | No Comments

http://www.forbes.com/2009/09/19/bill-curtis-enterprise-technology-cio-network-software.html?partner=relatedstoriesbox

Besides outsourcing and developing in house, Software as a Service is another way to get better code quality.  This approach is best used for smaller applications, which are standalone. But the problem of integrating with legacy systems still exist.

This method would lower the cost of developing and maintenance by distributing it across more users.

Something Print Designers would be happy with…

Posted on | September 22, 2009 | No Comments

Baseline CSS

http://baselinecss.com/grid.html

Something designers working with frequently request is for the text to be aligned to the baseline. That is equal baseline for text even if they are in different DIV. These different DIV might have different padding or margins making them aligned to whatever other DIV needed.

Will take the CSS library for a test drive to find out if that works.

keep looking »
  • 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