Find Jobs
Hire Freelancers

create script for Stripe: assign a subscription to a customer who made a one-time purchase

$30-250 USD

Closed
Posted over 7 years ago

$30-250 USD

Paid on delivery
I am building a Squarespace site, and need the ability to do recurring billing. I subscribe to Moonclerk, but that requires circumventing my Squarespace store (which I need for calculating shipping, etc, for physical orders). I have thought of creating Moonclerk buttons just for the recurring billing purchases, but that gets confusing for the customer. (They have to use one process to buy one-time items, but another to buy subscriptions, and the subscriptions won’t show in their purchase history in my store.) It occurred to me: is it possible to get the Stripe token for the credit card from a customer who made a one-time purchase (using the Squarespace store) and adding a subscription using that same payment method? This would solve my problem by allowing customers to "purchase" recurring billing items in my Squarespace store. They would actually be purchasing a "product" that cost the same as the first installment of the recurring billing plan. Then, I could manually invoke the script you will write, to create a subscription for that customer, based on the token for the payment method they used for purchasing the "product". Is this possible using the Stripe API? Can you create a script I can invoke for a given customer and a given Plan? I don't care how the script gets invoked! I can be through the Squarespace back end, through a webpage I would create elsewhere, through a desktop app (Mac only, please), or any other way you think is secure and effective.
Project ID: 11341280

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Marshfield, United States
0.0
0
Payment method verified
Member since Aug 31, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.