stripe icon indicating copy to clipboard operation
stripe copied to clipboard

Payment Method incorrect after Alipay purchase

Open zackspear opened this issue 4 years ago • 1 comments

Description

I have a Checkout Form that only accepts Alipay. In the order details in the CMS, in Twig using order.getPaymentForm().name, and within PHP using $e->$order->getPaymentMethod() the value returned is 'Card' rather than 'Alipay'.

Steps to reproduce

  1. Configure a form with the following settings:
    • Screen Shot 2021-05-07 at 13 00 36
  2. Make a test purchase
  3. View order details in CMS, on the front-end with {{ order.getPaymentForm().name }}, or in PHP with $e->$order->getPaymentMethod()

Additional info

  • Craft Pro version: 3.6.12
  • PHP version: 7.4.16
  • Database driver & version: MySQL 5.5.5
  • Plugin version: 3.3.3
  • Is SCA and Stripe Checkout enabled?: YES

zackspear avatar May 07 '21 20:05 zackspear

Hi @zackspear I'll take a look if there is a way to bring this info back from Stripe Checkout, I'll keep you updated

andrelopez avatar May 18 '21 18:05 andrelopez