ebstauffer
unread,Sep 8, 2008, 11:13:33 AM9/8/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phpPayPal
OK, here's the problem...
You expose only a single field to capture the expiration date:
public $expire_date; // EXPDATE - MMYYYY
However down in the urlencodeVariables() method you dont refer to that
expiration date property:
$this->expire_date_month = urlencode(str_pad($this->expire_date_month,
2, '0', STR_PAD_LEFT));
$this->expire_date_year = urlencode($this->expire_date_year);
To eliminate any input error I might have separated out EXPDATE field
as required by paypal into separate month and year properties and then
stitched them together (padding month as appropriate) and the setting
the EXPDATE parm.
Your thoughts?