Repository navigation
Changes
Stripe client
- Add Payment Intents methods:
list_payment_intents,get_payment_intent,create_payment_intent,update_payment_intent,confirm_payment_intent,capture_payment_intent,cancel_payment_intent - Add Setup Intents methods:
list_setup_intents,get_setup_intent,create_setup_intent,update_setup_intent,confirm_setup_intent,cancel_setup_intent - Add Payment Methods methods:
get_payment_method,update_payment_method,list_customer_payment_methods,attach_payment_method,detach_payment_method - Add
get_confirmation_token - Add
get_checkout_session - Add
refund_payment_intentfor refunding a payment intent directly refund_chargenow takes an optional table of additional parameters (eg.amount,reason)- Add test cases covering the new methods
HTTP client
- The default HTTP provider is now
lapis.httpwhen running inside of nginx/OpenResty (previouslylapis.nginx.http) - The default HTTP provider outside of nginx is now
socket.httpinstead ofssl.https, letting LuaSocket handle HTTPS detection
Full Changelog: v1.4.0...v1.5.0