Checkout process help

32 views
Skip to first unread message

Sam T

unread,
Mar 15, 2020, 8:04:36 PM3/15/20
to build-kiva
Hi Kiva,

The checkout process on my app is broken.

When I debug it, I am adding the following:

postData = "method=POST&loans=[{"id":1943179,"amount":25}]&donation=0.0&callback_url=http://com.woohoosoftware.kivasearch/kiva/checkout-complete&app_id=com.woohoosoftware.kivasearch"

Instead of going to the https://www.kiva.org/basket/set url, it seems to go to https://www.kiva.org/checkout when the page loads.

I can no longer find any of the old documentation for this process, is it still supported?  Any pointers on how to fix it?

Regards,
Sam
Message has been deleted

mfab

unread,
Mar 20, 2020, 10:47:57 PM3/20/20
to build-kiva
Hello Sam,

It looks like this process has been deprecated.  The Kiva api is going through a refresh, and we can let the channel know when Build-Kiva developers can have access to a token that supports checkout. 

Hope this information is useful to you.

Sam T

unread,
Mar 21, 2020, 12:36:29 AM3/21/20
to build...@googlegroups.com
Bunmer. I was under the impression this would be kept working until the new API was available. 

I will let my users know.

Thanks for your help 

Regards,
Sam

On Sat, 21 Mar 2020, 12:42 pm mfab, <meli...@kiva.org> wrote:
Hello Sam,

It looks like this process has been deprecated.  The Kiva api is going through a refresh and we can let the channel know when the developers can have access to a token that supports checkout. 

Hope this information is useful.


On Sunday, March 15, 2020 at 5:04:36 PM UTC-7, Sam T wrote:

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To unsubscribe from this group and stop receiving emails from it, send an email to build-kiva+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/build-kiva/8a0625bf-4baa-4eb0-9d31-b67be59e5151%40googlegroups.com.

mfab

unread,
Mar 21, 2020, 6:32:04 PM3/21/20
to build-kiva
Hi Sam,

Thanks for helping expand Kiva's lending community with your app! We're hoping to have an authentication process for developers before too long. 

The project is on the engineering roadmap for this year. 

Thanks for you support and patience while we upgrade Kiva to last another 15 years. 

On Friday, March 20, 2020 at 9:36:29 PM UTC-7, Sam T wrote:
Bunmer. I was under the impression this would be kept working until the new API was available. 

I will let my users know.

Thanks for your help 

Regards,
Sam

On Sat, 21 Mar 2020, 12:42 pm mfab, <meli...@kiva.org> wrote:
Hello Sam,

It looks like this process has been deprecated.  The Kiva api is going through a refresh and we can let the channel know when the developers can have access to a token that supports checkout. 

Hope this information is useful.


On Sunday, March 15, 2020 at 5:04:36 PM UTC-7, Sam T wrote:
Hi Kiva,

The checkout process on my app is broken.

When I debug it, I am adding the following:

postData = "method=POST&loans=[{"id":1943179,"amount":25}]&donation=0.0&callback_url=http://com.woohoosoftware.kivasearch/kiva/checkout-complete&app_id=com.woohoosoftware.kivasearch"

Instead of going to the https://www.kiva.org/basket/set url, it seems to go to https://www.kiva.org/checkout when the page loads.

I can no longer find any of the old documentation for this process, is it still supported?  Any pointers on how to fix it?

Regards,
Sam

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To unsubscribe from this group and stop receiving emails from it, send an email to build...@googlegroups.com.
Message has been deleted

YowieFreak

unread,
Mar 21, 2020, 9:51:54 PM3/21/20
to build-kiva
I was thinking that "checkout" was page 3 of the checkout process, and "basket/set" was the first step, and that Kiva was just skipping over the first page if the user was already logged in, but it looks like all 3 pages are "checkout".

So what did the "basket/set" page do other than allow the user to go to checkout?  (I notice that my own app uses "basket/set" in order to go to the checkout - but it's a long time since I have used my own app.  [I use Kiva Lens these days.])

Sam T

unread,
Mar 22, 2020, 4:55:18 AM3/22/20
to build-kiva
Hi YowieFreak,

Yeah its been quite a while since I have looked at this as well (originally built back in 2007).

Looking at my code....this was the sequence.

First Screen:  www.kiva.org/basket/set  - this uses the post method to add the loans to the basket, and set the donation amount.
Second screen:  either www.kiva.org/register or www.kiva.org/basket/register - where the user can click on sign in.
Third screen: www.kiva.org/login 
Fourth screen: www.kiva.org/basket/payment - pay with either credit or go to paypal

Hi mFab,

I will add a note to my app, that the checkout is not currently supported.

I have migrated nearly everything else to the new api, I think the only other issue I have is the portfolio loans, they are showing fully funded status and the amount raised, instead of showing a repaying status, and the percentage repaid.
Is there a way to get a users loans from then new api, with the repayment status and amount? I am guessing this might be token dependent as well?

Regards,
Sam
Reply all
Reply to author
Forward
0 new messages