lundi 1 octobre 2018

Need help for the Stripe Integration

I am making a Trello like dashboard using PHP Laravel 5.2 I was having very hard time to integrate the latest version of APIs but somehow managed to do it in version 5.2 My company sells monthly and hourly services. Here is what i did:

  1. Created different products (under Billing) with different plans.
  2. Created products(under Orders) for the hourly service.

Users will be buying either monthly or hourly service where monthly is the Plan under product and Hourly is the product only. i am making a step form for users to get in the dashboard this way - Service A > Service category > Monthly or Hourly. This is how they will be getting on-boarded. I couldn't find the way to retrieve a product (under billing) and get plans in the array such as select Service A and it gives options to choose Monthly, Semiannually or Hourly. Does anyone know how can i retrieve the product with their plans?

enter image description here

enter image description here

And also, i am using Products (under orders) for the hourly service. If they want to buy 3 hrs of development service then they will choose that product and hit the quantity 3 for the 3 hrs. I am stuck how do i retrieve that product(under orders) for the hourly service?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire