Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate and create the action for setting up a Direct Debit #2011

Closed
HollyJoyPhillips opened this issue Jul 8, 2020 · 3 comments · Fixed by #2071, #2084 or #2106
Closed

Populate and create the action for setting up a Direct Debit #2011

HollyJoyPhillips opened this issue Jul 8, 2020 · 3 comments · Fixed by #2071, #2084 or #2106
Assignees
Labels
developer-portal enhancements Relates to a feature enhancement feature New feature or request front-end Relates to front end issues

Comments

@HollyJoyPhillips
Copy link
Contributor

Summary: We now have the mechanism to load an interactive direct debit from that will be signed electronically by developers to setup their account

Location: https://dev.developers.reapit.cloud/settings/billing

Tasks:

Create an iframe and insert code from Adobe Sign when a Developer clicks on ‘Setup Direct Debit’

Code:
"<iframe src="https://reapit.na1.echosign.com/public/esignWidget?wid=**APIKEY***&hosted=false" width="100%" height="100%" frameborder="0" style="border: 0; overflow: hidden; min-height: 500px; min-width: 600px;"></iframe>"

Note: Please contact me direct for the API Key.
Important: Do not commit the API Key should store in the config file.

  • Add content & button on the footer of the iframe
    “Once you have completed this form, please click here to continue”
    image

Button ‘Finish’

  • Button action: Closes modal/iframe
  • Replaces ‘Direct Debit’ heading & subtext with ‘Thank you for setting up a Direct Debit, to continue please click ‘Save’ below
  • Remove ‘Setup Direct Debit’ button
  • Enable ‘Save’
    image

When ‘Saved’

  • Should save account information and set ‘status’ to ‘Pending’
  • Replace helper text with:
    “Thank you for submitting your Account Information and setting up a Direct Debit, we just need to validate your information with our Accounts Department. One this has been completed your account will be set to ‘Active’ and you can procced with any subscriptions.
  • ‘Add ‘Account Status: Pending’ (status)
    image

Steps: Load ‘Billing’ page > enter Account Email, Telephone & Contact > selects ‘No’ to ‘Reapit Reference’ > click on ‘Setup Direct Debit’ > fills out form > clicks on ‘Finish’ > click ‘Save’ > sets account to ‘Pending’

@HollyJoyPhillips HollyJoyPhillips added feature New feature or request enhancements Relates to a feature enhancement front-end Relates to front end issues developer-portal labels Jul 8, 2020
@vuhuucuong vuhuucuong self-assigned this Jul 13, 2020
vuhuucuong pushed a commit that referenced this issue Jul 13, 2020
@vuhuucuong
Copy link
Contributor

Hi @HollyJoyPhillips and @willmcvay , a few things I'm concerning about this:

  • So we will have an iframe in a modal -> and in that iframe we have a form which users can fill info in?
  • If that's the case, how can we detect if users are finished filling data in the form, I don't think we have a proper way to interact with iframe from our web apps, due to security reason.

Am I missing something? 🤔

@willmcvay
Copy link
Contributor

@vuhuucuong No, we don't have a way of interacting with it. We know it's not ideal - we'll just have to work around that.

vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 15, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
vuhuucuong pushed a commit that referenced this issue Jul 16, 2020
@HollyJoyPhillips
Copy link
Contributor Author

@vuhuucuong After loading the modal - it's asking me to sign into Adobe, it should just load the form. If run the same iframe code from a basic browser I don't need to log in first?
image

After you click 'Finish' this is the message that should display:
image

Then when the user clicks save, this message should appear with the account status:
image

When the user then re loads the page and the account status is 'Pending' this is the message that should display:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment