You are here

public static function PayPalPaymentIPNController::delete in PayPal for Payment 7

Deletes an IPN.

Parameters

int $psiid: The payment status item ID of the IPN to load.

1 call to PayPalPaymentIPNController::delete()
PayPalPaymentIPNControllerTest::testDelete in paypal_payment_ipn/tests/PayPalPaymentIPNControllerTest.test
Tests delete().

File

paypal_payment_ipn/includes/PayPalPaymentIPNController.inc, line 70

Class

PayPalPaymentIPNController
Provides IPN functionality.

Code

public static function delete($psiid) {
  db_delete('paypal_payment_ipn')
    ->condition('psiid', $psiid)
    ->execute();
}