|
...
|
...
|
@@ -42,7 +42,7 @@ class MembershipOfferController extends GetxController { |
|
|
|
final orderResult = await _payApi.createOrderByApple(productId);
|
|
|
|
if (orderResult is! AppSuccess<ApplePayOrderResponse>) {
|
|
|
|
if (isFromOnboard) {
|
|
|
|
Get.offAllNamed(AppRoutes.home);
|
|
|
|
Get.offAllNamed(AppRoutes.home, arguments: {'isFromOnboard': true});
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
...
|
...
|
@@ -51,7 +51,7 @@ class MembershipOfferController extends GetxController { |
|
|
|
if (orderUuid == null || orderUuid.isEmpty) {
|
|
|
|
AppToast.show(l10n.purchaseOrderInfoUnavailable);
|
|
|
|
if (isFromOnboard) {
|
|
|
|
Get.offAllNamed(AppRoutes.home);
|
|
|
|
Get.offAllNamed(AppRoutes.home, arguments: {'isFromOnboard': true});
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
...
|
...
|
@@ -78,7 +78,7 @@ class MembershipOfferController extends GetxController { |
|
|
|
|
|
|
|
AppToast.show(_applePaymentFailureMessage(result!));
|
|
|
|
if (isFromOnboard) {
|
|
|
|
Get.offAllNamed(AppRoutes.home);
|
|
|
|
Get.offAllNamed(AppRoutes.home, arguments: {'isFromOnboard': true});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|