Payment API (https://elb.deposit.shopifycs.com/sessions)

Highlighted
New Member
1 0 0

I am having trouble when posting payments to this URL: https://elb.deposit.shopifycs.com/sessions using a request it redirects me to just the address page, i.e. (https://kith.com/942252/checkouts/5e91dc14c967fea08bf1dc2cc7ba1c6f) I try and post to http://deposit.us.shopifycs.com/sessions and then send the rest of the data to the payment method page like order total, payment gateway, and session id, but nothing is working and I get redirected to the address page

It seems like I am able to get the session Id, i.e. (west-005f5339bc28813a3700d8b76f8c2d17) but when posting order total, authenticity token, session ID, and payment gateway, I get redirected to the address page.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
491 97 88

Hey @stimpani18 

As stated in the docs, the only information you should be posting to the /sessions endpoint is the following: 

POST https://elb.deposit.shopifycs.com/sessions
{
  "credit_card": {
    "number": "1",
    "first_name": "John",
    "last_name": "Smith",
    "month": "5",
    "year": "15",
    "verification_value": "123"
  }
}

 The response will be the ID such as west-0... as you've mentioned. 

 

Can you let me know what your call / response is? 

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes