I am creating a plugin where whenever a new user registered on our site, a new sub-site(via multisite) will be assigned to their account. Inside that sub-site, my plugin will then automatically import the products inside that subsite.
Now, what i want to achieve is: how do I programmatically enable a payment method (e.g. Direct Transfer) upon a sub-site creation? I’ve searched around your developer’s documentation and couldn’t find a way to do that. Manually enabling it by assigning an actual site admin is not an answer I’m afraid.
Thanks so much for your help!
]]>I am facing 2 issues with the plugin.
Regrds
]]>Steps performed:
1. Asked wallee for help ;). They told me their plugin works fine with standard installations.
2. Deactivated all plugins (made a Standard-Environment)
3. As soon as I activate the WholesaleX plugin, the payment method “wallee credit card” disapprears from the checkout page.
Did I miss any settings to do in WholesaleX?
For info this is regarding Mobilepay for use in Denmark.
I’ve gotten the solution “Checkout” from Mobilepay and everything should be working from Mobilepays side (confirmed by them)
I want the customers on my site to be able to choose between paying with Mobilepay, or card (VISA/MASTERCARD). I found out that only the Mobilepay payment method (not card) shows up under the available payment methods on my checkout page. I found out I need to disable my pensopay plugin that I have set up for credit cards before the mobilepay payment method would even show (so it’s not possible to pay with cards through the pensopay plugin, and mobilepay through this plugin).
When I activate the Mobilepay payment method it shows as Mobilepay only, without any card payment option. See snip: https://snipboard.io/zjZMlx.jpg
When I press “Godkend Ordre” it opens the Mobilepay app on the phone and Mobilepay window on the PC as expected and that seems to work correctly, however there is no option anywhere to pay with card?
When I go to the payment plugin settings and activate “Aktivér alternativ Vipps Kassen” the Mobilepay checkout screen now comes up (https://snipboard.io/7ymWs6.jpg), and after I put in adress information, I can see the 2 payment methods I’m looking for; Mobilepay and Card payments. (https://snipboard.io/ZYrEH1.jpg)
The two options are however not available as there is an error in regards to the shipping methods. The shipping methods however work perfectly well on my normal woocommerce checkout screen, and with other payment methods like pensopay and paypal.
However what I would like, is to be able to keep my normal woocommerce checkout screen, just where it is possible to choose between both Mobilepay and cards as a payment methods, and not just MobilePay. Is this possible?
I would like to keep my normal checkout page, and not use the alternative checkout if possible, as the shipping methods work. Also I don’t want the “Hent info fra MobilePay” button over the address info fields (https://snipboard.io/mMX4JE.jpg) as I have never seen this button or process on another page, and I don’t want my customers to be confused. Also I would like to keep my one page checkout process.
I really hope you can help! Thank you in advance.
Let me know if you need me to activate the payment method, as I will probably keep it off for now.
Best Regards – David
]]>i have a multicurrency store that has selling to malaysia, singapore, hong kong and taiwan. i want to disable some payment methods for specific countries. i have done so in the settings for each payment method to “specific countries”. i have also done the same in the Booster plugin. however, the changes are not reflecting on the checkout page
for example,
only stripe is enabled for hong kong and taiwan. if you look at this screenshot, you’ll see 2 other payment methods are available. https://paste.pics/RR7XF
measures i have taken:
1. cleared cache
2. checked if the checkout page has the woocommerce checkout shortcode – yes, the page has the shortcode
3. confirmed the checkout page has been set to the correct one – yes, it’s correct one
any solutions for this?
i just moved my site from staging to live. woopayments was previously linked in the staging and so, i received the safe mode message. i opted for transfer your connection but the changes did not reflect on my live site https://paste.pics/RJX41. upon checking, woopayments is still active on my staging site. does it take awhile for the transfer to reflect? how long does it take?
i have tried clearing woopayment’s cache, update woocommerce database and updated the involved woocommerce plugins.
will resetting the signup process solve this issue?
]]>The problem is: I’m unsure what to do with it. I mean, I suspect I’m supposed to update the SQL for each user to add in the authnet_customer_id and authnet_card_id, and then switch the _payment_method from stripe to authnet in the wp_postmeta table. And then update the wp_woocommerce_payment_tokens table so that the user logging in can use their saved credit card on file. I attempted to do this for one user… however, nothing worked, and I didn’t want to go too far down as it was starting to make less and less sense.
Unfortunately, the Authorize.net Developer API guide is no help, because it appears to cover adding CC data from your website to your Authorize.net account, but I’m not trying to do that… rather, I’m trying to get my website to see the CC data that already exists within my Authorize.net account. Obviously WooCommerce knows that a client was once using Stripe and contacts Stripe for the CC data it has saved… so I’m just trying to tell it to use Authorize.net instead. What should I do? Thanks for your help!
EDIT: I also realize I can just go into the user’s subscription and insert their new Authorize.net info… but that info is not showing up in their own “Saved Payment Methods” page.
{"code":"woocommerce_rest_missing_nonce","message":"Missing the Nonce header. This endpoint requires a valid nonce.","data":{"status":401}}
add_filter( 'woocommerce_store_api_disable_nonce_check', '__return_true' );
{"order_id":11909,"status":"checkout-draft","order_key":"wc_order_Duvi9v02ink9E","order_number":"11909","customer_note":"","customer_id":0,"billing_address":{"first_name":"Chris","last_name":"Jack","company":"","address_1":"Greater noida","address_2":"","city":"Test","state":"UP","postcode":"201306","country":"IN","email":"[email protected]","phone":""},"shipping_address":{"first_name":"Chris","last_name":"Jack","company":"","address_1":"Greater noida","address_2":"","city":"Test","state":"UP","postcode":"201306","country":"IN","phone":""},"payment_method":"","payment_result":{"payment_status":"","payment_details":[],"redirect_url":""},"additional_fields":[],"extensions":{}}
payment_method
field is missing, even though the Cash on Delivery option is selected.After clicking Place Order, the order in the admin panel is visible but the loading icon spins endlessly.
As a developer specializing in our theme, I am not in a position to make changes to the WooCommerce plugin. Therefore, I kindly request your assistance in resolving this issue.
Could you please provide guidance on how to address the missing nonce header and ensure the payment method is correctly captured during the checkout process?
Please note that this issue occurs only with the payment method: Cash on Delivery. I have also tested it by activating the default WordPress theme and deactivating all plugins. The problem still persists.
Thank you for your support.
]]>