question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Review subscription workflow messages

See original GitHub issue

Now when a user wants to subscribe to a Dataset/Geography, after pressing the button the user gets an exception:

We should add a field in the subscription_info endpoint with this information do_enabled: true/false so we can show a better message with a contact link instead of the buttons to subscribe.

When should we show the request access message?

  • Catalog().subscriptions()
  • dataset/geography.subscription_info()
  • dataset/geography.subscribe()
  • dataset/geography.download()
  • dataset/geography…get_all() (when you pass a credentials instance, it will check your subscriptions)
  • Enrichment()

Message to show when the DO is not enabled

We are sorry, the Data Observatory is not enabled for your account yet. Please contact your customer success manager or send an email to sales@carto.com to request access to it.

Message to show in the subscription flow

<h3>Subscription contract</h3>
You are about to subscribe to <b>{id}</b>.
The cost of this {type} is <b>${subscription_list_price}</b>.
If you want to proceed, a Request will be sent to CARTO who will
order the data and load it into your account.
if (${estimated_delivery_days} == 0) {
	This {type} is available for Instant Subscription for your organization,
	so it will automatically process the order and you will get immediate access to the {type}.
} else {
	This {type} will be available in your account in about ${estimated_delivery_days} days.
	We will contact you shortly to complete the subscription details.
}
In order to proceed we need you to agree to the License of the {type}
available at <b><a href="{tos_link}" target="_blank">this link</a></b>.
<br>Do you want to proceed?

cc @gonzaloriestra

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:21 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
cmongutcommented, Nov 21, 2019

We have already talked about messaging above. I have updated the first comment with the message agreed 🙂

1reaction
gonzaloriestracommented, Nov 20, 2019

Ok, then we have to check if it’s enabled from the subscription_info endpoint as well and catch the error from CARTOframes properly 👍

Do you think we should improve the message The user does not have Data Observatory enabled to include instructions or something?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Five Best Automated SMS Workflows | SimpleTexting
SMS Workflow: Collect Reviews​​ Review requests sent via text see a 66% higher conversion rate compared to email. Put a product insert in...
Read more >
Compose a workflow message - Finalsite Support
In Messages, go to the “Workflow Messages” tab and click the “+ Workflow Message” button in the top-right corner to start a new...
Read more >
Resume subscriptions and send notifications - Zuora
The workflow for suspending subscriptions and sending notifications ... Review the settings in the Resume task and make necessary changes.
Read more >
All about Collect Feedback workflows - Microsoft Support
Efficient and consistent A Collect Feedback workflow automatically routes the document or item, assigns review tasks and tracks their progress, ...
Read more >
Keep calm and automate: 3 Slack workflows your team can ...
Keep calm and automate: 3 Slack workflows your team can use now. Give coworkers a better way to get help and submit requests...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found