Discussion on Ionic2WooStore-ionic 2 App for WooCommerce

9 comments found.

Congratulations. Very Nice Work, GLWS From DCSF

Hi dude, great work! Do you have any demo? About shipping methods, can you please speak more about it? Thanks!

you can set shipping method and shipping cost in appconifg file,it will be show in woocommerce after customer make order

Hi

Is it easy to customize the pages for the products and categories?

customize what?content or style?

Love it! Great work.

gret design, is there any demo apk ?? Want try before buy..

Shipping method and cost can be set on WooCommerce admin page?

I ran into an error while trying to make a payment with Paypal (Sandbox):

The exception is raised in this line:

PayPalPayment *ppPayment = [PayPalPayment paymentWithAmount:[NSDecimalNumber decimalNumberWithString:amount]
iOS Logs:
BookStore[45676:7637953] -[__NSCFNumber length]: unrecognized selector sent to instance 0x7a9adca0
2017-01-23 12:25:06.620 BookStore[45676:7637953] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber length]: unrecognized selector sent to instance 0x7a9adca0'

*** First throw call stack:
(
    0   CoreFoundation                      0x03e7d212 __exceptionPreprocess + 194
    1   libobjc.A.dylib                     0x03916e66 objc_exception_throw + 52
    2   CoreFoundation                      0x03ef63dc -[NSObject(NSObject) doesNotRecognizeSelector:] + 172
    3   CoreFoundation                      0x03dfc34c ___forwarding___ + 1052
    4   CoreFoundation                      0x03dfbf0e _CF_forwarding_prep_0 + 14
    5   Foundation                          0x00f2725a -[NSScanner(NSDecimalNumberScanning) scanDecimal:] + 312
    6   Foundation                          0x00faed18 -[NSDecimalNumberPlaceholder initWithString:locale:] + 125
    7   Foundation                          0x00faec96 -[NSDecimalNumberPlaceholder initWithString:] + 31
    8   Foundation                          0x00faf062 +[NSDecimalNumber decimalNumberWithString:] + 54
    9   BookStore                           0x00029e18 __51-[PayPalMobileCordovaPlugin renderSinglePaymentUI:]_block_invoke + 1080
    10  libdispatch.dylib                   0x054223ee _dispatch_call_block_and_release + 15
    11  libdispatch.dylib                   0x0544dcc3 _dispatch_client_callout + 14
    12  libdispatch.dylib                   0x0542b2d8 _dispatch_queue_override_invoke + 1069
    13  libdispatch.dylib                   0x0542d639 _dispatch_root_queue_drain + 470
    14  libdispatch.dylib                   0x0542d3fb _dispatch_worker_thread3 + 143
    15  libsystem_pthread.dylib             0x057c1d3e _pthread_wqthread + 1070
    16  libsystem_pthread.dylib             0x057c18ea start_wqthread + 34
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Android is working but the order is not being created. I debugged and the error is due to customer_id is empty in the http request

{
  "payment_method": "paypal",
  "payment_method_title": "paypal",
  "set_paid": true,
  "customer_id": "",
  "line_items": [
    {
      "product_id": 44,
      "quantity": 1,
      "variation_id": 0
    }
  ],
  "shipping_lines": [
    {
      "method_id": "flat_rate:2",
      "method_title": "Worldwide Flat Rate",
      "total": 15
    }
  ],
  "transaction_id": "PAY-68W58205GW625904LLCDE5GQ" 
}

Note: I did not log in. I just pressed the Skip button.

The update fixed these issues? What files changed?

by
by
by
by
by
by