You are here

public function Mollie_API_Object_Payment::getPaymentUrl in Commerce Mollie 7

Get the payment URL where the customer can complete the payment.

Return value

string|null

File

Mollie/API/Object/Payment.php, line 181

Class

Mollie_API_Object_Payment
Copyright (c) 2013, Mollie B.V. All rights reserved.

Code

public function getPaymentUrl() {
  if (empty($this->links->paymentUrl)) {
    return NULL;
  }
  return $this->links->paymentUrl;
}