gerardo2303
Forum Replies Created
-
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Sending Details to Authorize.netHello @bfl,
I am sorry for the confusion, I am using another plugin for sending emails, each time an order is “completed” I receive an email with the order number in the subject. What I meant in my last comment is that each time an amount of the order is processed the order number should be increased. So it would be great if you can have that option from the plugin dashboard.
About the level 2 data, which kind of data or fields are you referring to?
Thanks.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Sending Details to Authorize.netHello @bfl,
This is working great, I tried the last version of the plugin and there are many new features working fine.
It also should be great if a payment is being processed in several parts, that order emails should be sent with an additional string in the subject that says: Part 2, Part 3, etc.
Also when you are processing the payment in several parts, there should be a value that shows within an ajax method, how much is the amount processed and how much if left for complete the order. By doing that you improve the user experience.
Let me know your thoughts.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Sending Details to Authorize.netHey, how is this issue going on?
We also need to use your plugin but it is important sending details to Authorize.net
Thanks.
Hey! Thanks for the update.
Alright, that’s great.
About the other suggestions, I think the most important one is that order details (first/last name, address, phone, etc) should be sent to Authorize.net as I did by adding the order number to the Authorize.net array around line 52 from file
/woo-mp/includes/payment-processors/authorize-net-payment-processor.php- This reply was modified 9 years, 1 month ago by gerardo2303.
- This reply was modified 9 years, 1 month ago by gerardo2303.
Hello,
Yes, it is odd that
AcceptCore.jsis shown before in the code source of the site like it was included first.I also tested the file you sent me, but same result. Maybe the problem is because you are including the
Accept.jsin between the body tags and from there it appends theAcceptCore.jsto the head, so maybe if you include theAccept.jsfrom the head it should work. Here is a screenshot that shows how theAccept.jsis before thanAcceptCore.js

Why should the payment form be hidden after a payment? What if the user wants to process another payment?
Generally it should be a payment per order. In case the user would like to make several payments it should record that using the order amount detail and order notes, for example if I send a part of the full payment, if it is sucessful then the amount of the order should be deducted partially, so the user would know how much is the rest amount to be paid. Finally, if the total amount is fully paid after several partial transactions, at that moment the order should change the status to “completed” and card payment form should be hidden.
Partial payments option is more complex than just pay per order, for user experience it is better than making all the process manually: imagine making several payments and using a hand calculator, and after all payments are done manually, changing the order status to “completed”. This is not the best scenario since generally the user that is filling the form is at the phone, thinking fast and making several things apart of speaking to the client.
Hi @bfl,
The problem is the plugin somehow is including the AcceptCore.js file before the Accept.js. So I fixed this by adding a script that includes the Accept.js first, this is not the best practice but it worked. I think you should take a look and try to include it properly from the php code. In the meanwhile it worked with this Javascript code between the head tags included with a plugin such as “Admin JavaScript”:
var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://js.authorize.net/v1/Accept.js'; document.getElementsByTagName('head')[0].appendChild(script);After that working, I noticed the payment is going through by ‘authCaptureTransaction’ transaction type, it should be great if from the admin area you allow people to change the transaction type, this is very important. In my case I just changed the line 43 from /woo-mp/includes/payment-processors/authorize-net-payment-processor.php file by using ‘authOnlyTransaction’.
Also, I noticed the payment form is not related to the woocommerce form, after taking a look to the transaction at my Authorize.net account, there are not customer/order details, you should start calling them from the $request array in the same file mentioned, ie. I related the order id by adding
'invoiceNumber' => $this->idinside the ‘order’ array around line 52. In the same way, you can include the customer first name, last name, address, etc.Finally, after making the payment you should just hide the card details form and change the status of the order to ‘completed’, all this can be done within Javascript after receiving the sucessful transaction response from Authorize.net.
These improvements can make the difference. In the meanwhile I will be improving this plugin in order to accomplish these important requirements for myself, I know everyone would need them. If you need some help with it I could take some time for that.
Hello @bfl,
Okay, I tried that but didn’t work. Also tried with private browsing using Chrome and Firefox.
See the error in the following image:

The red message shows up after clicking “Process Payment” button.
I appreciate your help.
- This reply was modified 9 years, 1 month ago by gerardo2303.