|
@@ 18-26 (lines=9) @@
|
| 15 |
|
} |
| 16 |
|
|
| 17 |
|
|
| 18 |
|
public function saveAddressAndSkipSubscriptionStep(array $data, Form $form, SS_HTTPRequest $request) |
| 19 |
|
{ |
| 20 |
|
$this->owner->saveAddressDetails($data, $form, $request); |
| 21 |
|
|
| 22 |
|
$nextStepLink = CheckoutPage::find_next_step_link('orderformsubscription'); |
| 23 |
|
$this->owner->controller->redirect($nextStepLink); |
| 24 |
|
|
| 25 |
|
return true; |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function saveAddressAndCreateSubscription(array $data, Form $form, SS_HTTPRequest $request) |
| 29 |
|
{ |
|
@@ 28-36 (lines=9) @@
|
| 25 |
|
return true; |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function saveAddressAndCreateSubscription(array $data, Form $form, SS_HTTPRequest $request) |
| 29 |
|
{ |
| 30 |
|
$this->owner->saveAddressDetails($data, $form, $request); |
| 31 |
|
|
| 32 |
|
$nextStepLink = CheckoutPage::find_next_step_link('orderformaddress'); |
| 33 |
|
$this->owner->controller->redirect($nextStepLink); |
| 34 |
|
|
| 35 |
|
return true; |
| 36 |
|
} |
| 37 |
|
} |
| 38 |
|
|