question

hiteshr avatar image
hiteshr asked David Marginian Deactivated commented

Getting a 403 for order/orderId/pay

Hi, we were testing out our application on production and when we were trying to pay for the order via the /v1/orders/orderId/pay endpoint, we're getting a 403 error. As far as I could search the forums for the error we think the problem here is, we don't have the customers read permissions on the prod yet.


When we were testing the app on sandbox env, I think we didn't require the customers read permission. Right now we have the customers read in our sandbox as well which we had turned on for some other purpose(if I remember correctly). Is the customers read permission something that has recently been added to the pay endpoint? We don't need expandable fields while paying.


Is there any other way we could pay for the order using source without that permission? I see even the order read requires customer permissions.

OrdersPayments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

"When we were testing the app on sandbox env, I think we didn't require the customers read permission."

The permissions required across environments are the same. Currently, customer's read permission is required to pay for an order.

"Is the customers read permission something that has recently been added to the pay endpoint?"

No


2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hiteshr avatar image hiteshr commented ·

I'm posting our app id as well as a viewable only by moderators post. We have requested for the customer's read permission, can you please tell us when can we expect the permission to be approved?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ hiteshr commented ·

Fulfilling requests like this is out of the scope of this forum. Please contact appmarketbusiness@clover.com.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community