• Rune Rasmussen

    (@syntaxerrorno)


    I think it would be a good idea to start writing on the missing documentation for everything soon, especially the new Instore feature, where the only “doc” you have seems to be this: https://wordpress.org/support/topic/new-feature-where-is-it/#post-17829973

    Meanwhile, could you please describe how it is supposed to be used and how it should work here, step by step?

    I’m asking because I’ve tested it, created an order for myself from admin, having the ‘Awaiting payment’ status, and saved it. Then I pushed the new button who appeared for sending the payment link, and the screen refreshed and added an order note: «Instore order created with Svea ID: …», and it’s also added some info in the order details section (Payment link is sent. SMS sent successfully). In spite of this I received no mail or SMS, and can’t see the order in Payment Admin (test environment).

    Maybe it’s something wrong somewhere else, but hard to tell if we don’t know how it’s supposed to be used, and how it should work in Woo.

    Sidenote! minutesUntilLinkExpires is set where? By the the Woo stock hold?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author The Generation

    (@thegeneration)

    Hi

    We agree and a documentation is underway, although not done yet and we’d have to ask for your patience regarding that.

    A quick run-down of how it’s supposed to work follows:
    1. Apply for instore-credentials at Svea
    2. Add the credentials here: WooCommerce > Settings > Payments > Svea Checkout
    3. Place an order and note that you get a “send payment link” in the order view.

    Regarding “minutesUntilLinkExpires”, this is set in WooCommerce > Settings > Products > Inventory.
    It is the setting called “Hold stock (minutes)”.

    Hope this was the information you were looking for.

    Best regards

    Thread Starter Rune Rasmussen

    (@syntaxerrorno)

    Obviously I already did step 1-3, and it didn’t work, so not exactly what I was looking for no. 😉

    Beyond that, great that we agree there is a need for docs. Though we’ve been waiting for several things more than a year, so patience is slowly running out. 😉

    Thread Starter Rune Rasmussen

    (@syntaxerrorno)

    According to Svea there is no payment link sent on SMS for test, but it seems to work for production.

    It’s though not sent any mail from Svea or the store automatically when using either test or production, even though the order states that a payment link it’s sent, but maybe you’re just displaying duplicated info with different wordings:

    Svea instore
    Payment link is sent
    SMS sent successfully

    • Note! Maybe anyway better to display different messages her when in test mode, to avoid any confusion.

    Anyhow for others wondering, this seems to be the steps working somewhat:

    1. Create a manual order as you normally would from admin (Google: Manual order in WooCommerce), with status ‘Awaiting payment’.
      *On payment method you should probably select Svea Checkout, even though it doesn’t seem to make any difference?
    2. Click on ‘Create’ in the ‘Order action’ box.
      *NOTE! Do not select any email to send, the payment link in it will not work at this stage, and thus only confuse your customer.
    3. Wait for the page to reload.
    4. Click the new ‘Send Svea payment link’ button, who should appear in the order details box now.
    5. Wait for the page to reload.
    6. The customer should receive a SMS with a payment link from Svea.
    7. Now you can also select the ‘Send the order details to customer’ in the ‘Order action’ box, if you also want to send a payment link on mail.
      *Select it from the drop-down, and just push the “arrow” next to it to send it.
    8. The customer receives the order details mail including a payment link.

    Regarding “minutesUntilLinkExpires”, this is set in WooCommerce > Settings > Products > Inventory.
    It is the setting called “Hold stock (minutes)”.

    Okay, but what if stock management isn’t enabled then? When ‘Manage stock: Enable stock management’ isn’t selected, the ‘Hold stock (minutes)’ setting is hidden, but you still use it?

    Plugin Author The Generation

    (@thegeneration)

    Hi

    Thank you for all the feedback.

    Regarding the hold stock (minutes), yes it is used under the hood even if it’s hidden when Stock management is disabled. In this case, it has a default value of 30 minutes. Minimum is 10 and maximum is 60.

    It is also filterable with “woocommerce_sco_create_instore_order”-filter.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.