Wp-graphql-woocommerce: Payment Gateway API schema shape

Created on 11 Apr 2019  路  2Comments  路  Source: wp-graphql/wp-graphql-woocommerce

Overview

  • WPInterface Type required
  • Mutations and Queries needed for customer-level functionality
design notes enhancement new mutations new queries new types

Most helpful comment

This plugin (https://wordpress.org/plugins/wc-rest-payment/) kind of has it right but Stripe introduced the SCA-compliant PaymentIntent way of charging customers. https://stripe.com/docs/strong-customer-authentication

I think having a way to get the token from the server's installed payment plugin is a nice way to handle payments. Stripe, Paypal, and maybe Braintree?

Check out these links too for more inspiration or references of use cases:

https://www.joshuaiz.com/words/no-woocommerce-cart-api-no-problem
https://scottbolinger.com/process-payments-woocommerce-rest-api/

All 2 comments

This plugin (https://wordpress.org/plugins/wc-rest-payment/) kind of has it right but Stripe introduced the SCA-compliant PaymentIntent way of charging customers. https://stripe.com/docs/strong-customer-authentication

I think having a way to get the token from the server's installed payment plugin is a nice way to handle payments. Stripe, Paypal, and maybe Braintree?

Check out these links too for more inspiration or references of use cases:

https://www.joshuaiz.com/words/no-woocommerce-cart-api-no-problem
https://scottbolinger.com/process-payments-woocommerce-rest-api/

Something like a WordPress website link where it is secured to do would also work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

huniqcast picture huniqcast  路  4Comments

huniqcast picture huniqcast  路  3Comments

stefanos82 picture stefanos82  路  7Comments

craigwilcox picture craigwilcox  路  4Comments

kenchoong picture kenchoong  路  5Comments