Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kvofreelance/047342d4ca0c643a552f6784c905c2de to your computer and use it in GitHub Desktop.
Save kvofreelance/047342d4ca0c643a552f6784c905c2de to your computer and use it in GitHub Desktop.
[8/3/16, 2:02:17 PM] Igor: Have a common questions
[8/3/16, 2:02:47 PM] Igor: User buy subscription for $3
[8/3/16, 2:02:53 PM] Igor: And use it 14 days
[8/3/16, 2:03:11 PM] Igor: So it's leave 16days to the end
[8/3/16, 2:03:28 PM] Igor: He will want to buy subscription for $7
[8/3/16, 2:03:34 PM] Igor: What I must do?
[8/3/16, 2:04:03 PM] Igor: Accept it or decline and say that it's leave 16 days for ability to buy another subscriptions
[8/3/16, 2:04:03 PM] Igor: ?
[8/3/16, 2:05:00 PM] Ahmar Khan - Web: previous subscription will be cancelled and new would be done .
[8/3/16, 2:05:15 PM] Ahmar Khan - Web: and the month would start from the date
[8/3/16, 2:05:52 PM] Ahmar Khan - Web: but please make sure that user pays the difference only … not the full new amount
[8/3/16, 2:06:32 PM] Ahmar Khan - Web: i.e. $3 subscriber goes for the 7, should pay $4 to make it 7
[8/3/16, 2:07:03 PM] Igor: Ok will figure out how do it
[8/3/16, 2:07:42 PM] Igor: In which api or object I must put result of pay subscription?
[8/3/16, 2:08:41 PM] Ahmar Khan - Web: it should just return the required values in the success callback …
[8/3/16, 2:09:10 PM] Ahmar Khan - Web: and i’ll take care of the rest.
[8/3/16, 2:09:42 PM] Igor: In success it only return purchase id and transaction id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment