File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/Message/PaymentIntents Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,26 @@ public function getConfirm()
126126 return $ this ->getParameter ('confirm ' );
127127 }
128128
129+ /**
130+ * Set the confirm parameter.
131+ *
132+ * @param $value
133+ */
134+ public function setOffSession ($ value )
135+ {
136+ $ this ->setParameter ('offSession ' , $ value );
137+ }
138+
139+ /**
140+ * Get the confirm parameter.
141+ *
142+ * @return mixed
143+ */
144+ public function getOffSession ()
145+ {
146+ return $ this ->getParameter ('offSession ' );
147+ }
148+
129149 /**
130150 * @return mixed
131151 */
@@ -352,6 +372,8 @@ public function getData()
352372 $ this ->validate ('returnUrl ' );
353373 $ data ['return_url ' ] = $ this ->getReturnUrl ();
354374 }
375+ $ data ['off_session ' ] = $ this ->getOffSession () ? 'true ' : 'false ' ;
376+
355377
356378 return $ data ;
357379 }
You can’t perform that action at this time.
0 commit comments