public function QueueInterface::acquirePayment in Payment 8.2
Acquires a payment and removes if from the queue.
Parameters
integer $payment_id:
string $acquisition_code: The code that was received from self::claimPayment().
Return value
bool Whether the acquisition was successful.
1 method overrides QueueInterface::acquirePayment()
- DatabaseQueue::acquirePayment in src/
DatabaseQueue.php - Acquires a payment and removes if from the queue.
File
- src/
QueueInterface.php, line 52
Class
- QueueInterface
- Defines a payment queue.
Namespace
Drupal\paymentCode
public function acquirePayment($payment_id, $acquisition_code);