Example #1
0
 /**
  * @param null|string $type Available values: `M`, `MS`, `S`, `SS`, `L`, `V`, `FL`, `FLS`.
  *
  * @return string
  *
  * @link http://docs.robokassa.ru/en#2537
  */
 public function getFormUrl($type = null)
 {
     $type = strtoupper($type);
     return $this->client->getFormBaseUrl() . $type . '.js?' . $this->getPaymentUrlQueryString(self::FORM_TYPE_FL === $type || self::FORM_TYPE_FLS === $type);
 }