paypalx/html5-dg — Issue #5: Verify callback cannot find transaction data
Author: jcleblanc
Created: 2011-10-21 20:39:23+00:00
State: open

There appears to be an issue with the "verify" call when testing the PHP code.

public function verifyPurchase($userId = 0, $itemId = 0, $transactions){
$arrTransactions = json_decode($transactions);
$transactionId = null;

$transactions = json_decode(stripslashes($transactions));

---- At this point the "$transactions" is null and their for the purchase is not valid.