Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Correct customer URL to Balanced #2222

Merged
merged 1 commit into from
Apr 2, 2014
Merged

Correct customer URL to Balanced #2222

merged 1 commit into from
Apr 2, 2014

Conversation

bruceadams
Copy link
Contributor

The Gittip provided URL to Balanced makes no sense. This is an attempt to fix it. I haven't ever tried testing with Balanced, so I do not know how to test this change. But, I know that the existing code does not work. This really cannot be any worse.

clone1018 added a commit that referenced this pull request Apr 2, 2014
Correct customer URL to Balanced
@clone1018 clone1018 merged commit f38d3e2 into master Apr 2, 2014
@clone1018 clone1018 deleted the balanced-url branch April 2, 2014 13:50
@clone1018
Copy link
Contributor

Thanks for the fix Bruce, this bothered me too.

@@ -76,7 +76,7 @@
<div class="account-type">
Balanced Payments
{% if user.ADMIN and participant.balanced_customer_href %}
(<a href="https://dashboard.balancedpayments.com/#/{{ participant.balanced_customer_href[4:] }}"
(<a href="https://dashboard.balancedpayments.com/#/marketplaces/MP12Xw5lL6iaILtqImIoroDL{{ participant.balanced_customer_href }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been considering our marketplace ID to be secret.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm told it's not dangerous to share. IRC

I'm still not comfortable sharing it, tbh. Feels like something that could be used in social engineering.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we can't change the ID through the dashboard. We could ask Balanced to change it for us, probably, but since they're saying it's safe, I guess I'll drop it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IRC

@chadwhitacre
Copy link
Contributor

The ticket for this is #2085. Not sure if this PR really solves the problem or just works around it, possibly only in some cases. I believe we have two kinds of balanced URI stored in our db.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants