I am generating QR codes in my workflow following successful order payment/completion & creation of the service. The workflow takes the activation code returned from the API call & stores it in a state on a QR code image on my page. The flow then takes this image and adds it to our database.
It was working absolutely fine but now I have deployed my app live I am running the flow and it’s failing to generate the QR code and throwing an error.
Hi, thanks for your help with this, you have helped me narrow the issue down to the cause.
It is indeed the stripe payment process. I just removed it to test the entire workflow as it is but without the “charge current user” and it worked successfully without a single error/issue.
Here are my stripe plugin/payment settings for the charge user action:
When running the flow, the stripe plugin does seem to work and opens a stripe payment page to collect the card details, im able to use the test 4242 card number and it works m(using in dev mode), but then the qr code fails.
when i remove the charge action the qr code and all other actions work fine. I have no idea whats causing this.
In terms of updating the product ids, there are no stored product ids, its just set to take the payment based on the amount stored in the action settings.
Ive slimmed it right down to a test workflow that literally has 2 actions, charge the user then generate qr code 9then the subsequent workflow for qr code generated) and im getting the same error:
update: It appears to be related to the latest version of the stripe plugin. when i change it back to the legacy version by selecting from the plugin menu dropdown it works on the legacy version.