Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8517677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:46:16+00:00 2026-06-11T05:46:16+00:00

I would like to pursue making a website widget that can allow visitors to

  • 0

I would like to pursue making a website widget that can allow visitors to donate to the developer’s Starbucks card (similar to a PayPal donation widget). My initial naive implementation was to bring the user to the Starbuck’s eGift page and then use JavaScript to autopopulate most of the form. However, this would be considered cross-site scripting.

Is there an acceptable way for me to send data to the Starbucks eGift form and accomplish what I want? Or is there a different approach that would work? A coworker mentioned the PayPal API but I’m not sure that would work to hook into reloading the Starbucks card.

Requirements:

  • The donator should be able to click the widget, enter in their name/email address (optional?), PayPal or account information, and the amount they want to donate, and the card would be reloaded.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:46:18+00:00Added an answer on June 11, 2026 at 5:46 am

    You can do it with this code:

    <div id="starbucks_container">
        <form action="https://www.starbucks.com/card/reload/one-time" class="AjaxForm required_form payment-method region size2of3" id="OneTimeReload" method="post" novalidate="novalidate">
            <input class="field_large numbers card-number required numeric" id="Card_Number" maxlength="16" name="Card.Number" title="Card Number | This 15- or 16-digit number is on the front of your card. Please enter it without spaces." type="hidden" value="6069262396927591">
            <label for="Reload_Amount">Reload Amount</label>
            <br/>
            <span class="numbers">$</span>
            <input class="field_xxsmall align_right numbers" data-validation-max="100" data-validation-min="10" id="Reload_Amount" maxlength="3" name="Reload.Amount" title="Please enter an amount." type="text" value="10">
            <input id="paymentOptionHidden" name="paymentOptionHidden" type="hidden" value="CreditCard">
            <br/>
            <label for="card-type-paypal">
                <input class="credit-card radio" id="card-type-paypal" name="paymentOption" type="radio" value="PayPal">
                PayPal
            </label>
            <br/>
            <label for="card-type-options">
                <input checked="checked" class="credit-card radio" id="card-type-options" name="paymentOption" type="radio" value="CreditCard">
                Credit/Debit Card
            </label>
            <input type="hidden" name="step" value="1">
            <br/>
            <button type="submit">Reload Card</button>
        </form>
    </div>
    

    just replace the card number with your own.

    Also, I made a WordPress widget for this: http://wordpress.org/extend/plugins/starbucks-reload/

    Edit- the url changed from https://www.starbucks.com/card/manage/guest-reload to https://www.starbucks.com/card/reload/one-time

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

would like to allow visitors to a web page to upload photos that will
would like to build an app that can run on any of the new
Would like a for loop in jquery so that: For every hover_link: show hidden
Would like to make anapplication in Java that will not automatically parse parameters used
Before I pursue this, I would first like to know if it's possible. So,
would like to know how can this be implemented in Joomla. I have a
would like to create a function that generates graphs using ggplot. For the sake
Would like to use an Image button in my widget layout. I want an
Would like to turn this into black and white.. can't figure out what to
Would like to develop an application that utilizes a mobile devices music library. Fairly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.