Amit
Forum Replies Created
-
When I use the Test API key, the error disappears, and the test mode payment works correctly. I also contacted Vipps support, and they confirmed that there are no issues with the API.
However, for the production, getting same error –Could not connect to Vipps MobilePay: 401 Unauthorized Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.
Thank you for your reply.
Yes, this was old setup.
I have already checked the setup with vipps portal which is good.
1. Live key.2. Checked MSN and match with setting.
3. This is not using for Recurring API.
I checked the settings and after saved got the error message –
Could not connect to Vipps MobilePay: 401 Unauthorized Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] PDF generate after form submissionThank you Konrad.
It works excellent.I am afraid, that’s my live site, so I do not want to share the information to public. Is there any private options to show the error report?
Let me explain where I am getting the issue.
1. I am mainly getting the issue on Klarna dashboard and see repeat orders. For example, customer Alex tried to pay and 3 transactions were charged. 3rd transaction is good, but first 2 woo commerce order ID missing.2. I think, when the woocommerce order ID is missing, then the transaction shows on Klarna, so manually I am removing that extra payment.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] PDF generate after form submissionThank you for your quick response.
I want to add the pdf with the attachment. my code is like this
$args = array( 'from' => '[email protected]', 'reply_to' => '[email protected]', 'to' => $toEmail, 'cc' => '[email protected]', 'bcc' => '[email protected]', 'subject' => 'Subject', 'content' => 'Thank you ' . $reg_sender_name . ', for registering ' . $reg_event_title . $invoice_url . ' with sharp reflections. You can download your invoice (attachment here' . $invoice_url . ')', 'headers' => array( 'From: [email protected]', 'Reply-to: [email protected]', 'Content-Type: text/html', 'charset=UTF-8' ), 'attachments' => array( $invoice_url ) );
update_field(‘registration_invoice_pdf’, $filename, $post_id);
$invoice_url = get_field(‘registration_invoice_pdf’, $post_id);
Unfortunately, the pdf does not show or attach with the email.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] PDF generate after form submissionThank you for your reply!
I used this code for generating pdf-
function generate_pdf_invoice_fpdf() { $toEmail = get_field('registration_email', acfe_form_get_action('post', 'ID')); $reg_sender_name = get_field('registration_name', acfe_form_get_action('post', 'ID')); $reg_event_title = get_field('registration_event_title', acfe_form_get_action('post', 'ID')); $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial', 'B', 16); $pdf->Cell(40, 10, '€400 Paid from your credit card' . $toEmail . $reg_sender_name . $reg_event_title); $pdf->Output('invoice.pdf'); }
Do you have any suggestion, how I will save / update a custom post field when the pdf generated. Also, if you could suggest me how to add that generated pdf with the attachment.
I am tring this code to save or update custom field
add_filter('acfe/form/submit/save-pdf', 'save_as_pdf', 10, 4); function save_as_pdf($form, $action) { $post = acfe_form_get_action('post'); update_field('registration_invoice_pdf', '123', acfe_form_get_action('post', 'ID')); }
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] PDF generate after form submissionI used this codes and it does not attachment with email. It just generate a PDF and show after form submission.
How I attach the new generated pdf with email attachment?// Generate PDF using fpdf require_once("invoice-attachment/fpdf.php"); function generate_pdf_invoice_fpdf(){ $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial','B',16); $pdf->Cell(40,10,'€400 Paid from your credit card'); $pdf->Output(); } add_filter('acfe/form/submit/email_args/action=to_customer', 'invoice_attachment_email_args', 10, 3); function invoice_attachment_email_args($args, $form, $action){ $args = array( 'from' => '[email protected]', 'reply_to' => '[email protected]', 'to' => '[email protected]', 'cc' => '[email protected]', 'bcc' => '[email protected]', 'subject' => 'Subject', 'content' => 'Content', 'headers' => array( 'From: [email protected]', 'Reply-to: [email protected]', 'Content-Type: text/html', 'charset=UTF-8' ), 'attachments' => array( generate_pdf_invoice_fpdf() ) ); // return return $args; }
@dehkadehwp Your codes work great.
Thank youEverything was working before Elementor upgraded to 3.5.2.
Only swiper does not work.
Live site https://osfins.microtheme.co/Yes, 3.5.2 still have the issue
I have deactivate all plugins and custom theme. Now twenty nineteen theme and your plugin only active. I am using wpengine.
It’s a real nightmare. Please fix it asap.
This is really very frustrating things. Still, no solutions and support is very awkward.
While I click on “Upgrade” button it shows a box, then I click Run but noting works there
I am using latest woocommerce version
Forum: Plugins
In reply to: [One Click Demo Import] customizer data not importedI am facing same issue. Have you solved the issue ?