#articillusion

1 messages · Page 1 of 1 (latest)

worn citrusBOT
karmic crescent
#

Hello! Yup, go ahead and ask

umbral idol
#

@karmic crescent thank you.

We are trying to implement recurring payment options to our e-commerce site. Introducing a new section and several products to be purchased only via subscription.

The issue is that the documentations given via support team is not clear enough. We are getting stuck with several areas when finding the right area/flow and rules for use cases.

For instance, one area we are trying to understand is how we can set the payment frequency. We are planning to allow users to select twice a week payment option. How do we control the frequency of payments and where can we set the dates for payment setup?

karmic crescent
#

Are you building this on top of subscriptions, or just using our payments?

umbral idol
#

We haven't started using any subscription service yet. We are trying to understand the services and hopefully start testing in our test branch. I'm actually not a developer trying to help out, find information for our developer. He is wondering where can he get information about payment frequencies such as Weekly/Monthly/Fortnightly...etc and also how intervals for days work. Like where can we set which days or week/month to get the payment and also get notification couple of days prior to payment.

#

Currently we are using Stripe for regular purchases. We will be introducing subscription but we dont know how to based on our use cases

karmic crescent
#

So as an example if you wanted to create a price that would be charged every two weeks you'd set recurring.interval: week and recurring.interval_count: 2

umbral idol
#

dear @karmic crescent thank you so much for your swift response. I'll share your notes immediately.

#

@karmic crescent quick question, when we select interval_count: 2, how do we define on which 2 days of the week the payment should be taken?

karmic crescent
#

Ah, you're asking how to collect payments on specific days of the week?

#

If that's what you're trying to do then I think it gets a bit complicated (and I don't think we have a clean solution for this since we don't actually have a way of specifying days of the week in our prices api at all right now)

umbral idol
#

How does the payment automation work then? If we allow users to lets say get twice a week option, how will payment work? If we can understand how stripe operates the payment with this occurance, we can then maybe find a way to integrate our services relevantly?

#

Below is what we are planning;

As a user I should be able to select;

  • twice a week
  • once a week
  • once every two weeks

Also, I would like to select a delivery day;

  • Wednesday
  • Thursday
  • Friday

if a user selects any one of the combinations from above options, how would payment day work?

We are trying to standardise the payment day for all users as it would be super easy to operate our services in case of any error/problem.

karmic crescent
#

The once a week and once every two weeks is very doable, but the twice a week is something that would be pretty complicated to build with our APIs currently and if youre flexible I'd recommend removing that one

#

You can see in the API references I sent over - we have no concept of "day of week" in our Prices API, so there's really no way to configure a twice a week payment schedule

#

Probably the closest you could get is creating two subscriptions that are both weekly and start each one on a different day

#

but again, I wouldn't really recommend it

#

For the delivery day aspet - that's someting that you'd implement entirely on your end

worn citrusBOT
umbral idol
#

@karmic crescent thank you for your reply again.

Either way, lets sey we eclude twice a week option. We are still trying to figure out how we can manage which day/date we can set payment for subscription to be able to regulate them all?

How will payment date work essentially?

inner raven
#

👋 taking over here

#

Hi, for your last question, is that you decided to go with the 2 Subscription implementation, or how are you plan to do it on your end again?

umbral idol
#

Hello Orakaro

#

No we have a single subscription but there are multiple options to purchase product.

#

We are selling physical product and making deliveries.

We will offer fortnightly, weekly, twice a week option.

#

relevant to what @karmic crescent mentioned. We came up with a solution.

#

We will keep twice a week option on our client side however we will set a product tha twill take the payment once a week

#

We just need to understand on which days payments are automated.

#

If I'm purchasing something today 27/07/2023 and my purchase is weekly subscription and my delivery option is every Wednesday.

How will we set a payment day to be scheduled?

#

We are trying to set a day/date for all payments if possible like for instance if a customer selects Wednesday options, we will make sure payments are taken every Monday....

#

that kind of thing.

inner raven
#

If you just set the Subscription billing cycle on Monday, wouldn't it work?... Sorry I might missed something.

umbral idol
#

Yeah that would work how can I do that? can you please link me to the API service for that option?