public function QueueInterface::claimPayment in Payment 8.2
Claims a payment available for referencing through a field instance.
After a payment has been claimed, it can be definitely acquired with self::acquirePayment().
Parameters
integer $payment_id:
Return value
string|false An acquisition code to acquire the payment with on success, or FALSE if the payment could not be claimed.
1 method overrides QueueInterface::claimPayment()
- DatabaseQueue::claimPayment in src/
DatabaseQueue.php - Claims a payment available for referencing through a field instance.
File
- src/
QueueInterface.php, line 31
Class
- QueueInterface
- Defines a payment queue.
Namespace
Drupal\paymentCode
public function claimPayment($payment_id);