How can I perform payment transactions through the API?

Shopify Partner
4 0 0

Hi,

I would like to know if I create an Order through the Shopify API, and then create a Transaction through the API specifying the Order ID, will a payment actually be processed through the gateway configured for the shop? 

I did some testing with the APIs, and it looks to me as if creating a transaction doesn't actually perform the transaction, but only records the transaction as having happened in the order. Even if I pass in payment information with the transaction, that payment information does not appear to be used for anything. Can anyone please tell me if my understanding is correct?

Also, are there any payment processing APIs that are available through Shopify? I didn't see anything else in the API documentation that looks useful for this.

Thanks,

Alex

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 0 45

Orders created through the API do not leverage the payment gateway whatsoever at the moment. You can use it as a way to import orders from other cart systems or whatever, but that is about it.

0 Likes
Shopify Partner
4 0 0

Thank you Chris. Does the API have any way to associate payment information with the order created through the API?

0 Likes