Creating order without shipping/delivery - intershop

We need to create Intershop order with product that doesn't require delivery (mobile network plan with monthly payments). As far as we know each basket and order requires to have a shipping method and addresses for it.
Is there a way to avoid setting shipping method or addresses on basket and order since we are not using it, or to setup a shipping method that requires no address.
We also tried to skip setting shipping method on basket and create order with it but it failed.
Also we have tried searching Intershop documentation for digital products and there were a few mentions only of digital addresses but no further info could be found that is relevant to our case.
EDIT: We are not using PWA and we do have physical products (mobile phones) for which we are using standard shipping methods.

To totally circumvent shipping method and shipping address might be quite hard. Are you using PWA? Are there only digital products in your system?
The imho easiest way to achieve something similar out of the box is to use FreightClass "DIGITALDELIVERY" for your products. You will still need to add a shipping address, but an email on that shipping address should be enough (maybe just take over from invoice address? it will then belong to destination region "email-addresses"). Then shipping method "E-mail Delivery" should be available.

Related

Avoid more than one purchase from the same IP

Good afternoon from Spain, guys.
I will try to be as specific as possible.
I want to create a free physical product in my ecommerce (WP + WC) for which I will only charge a couple of dollars for shipping.
To avoid cheating, apart from checking fields such as email and selling the product individually, I was wondering if it is possible to display a notice such as "IT IS NOT POSSIBLE TO MAKE MORE THAN ONE PURCHASE WITH THE SAME IP"
Any ideas?
Thank you :-)
Check this code out to restrict same-IP purchases.
That said - if your aim is to restrict purchases to one user, your best bet is to validate the user themselves (email/username).
The reason for this is:
It's possible for one user to unintentionally access a page through many IPs (say VPN disconnects)
It's possible for many users to use the same IP (via NAT).
IP should not be used for validation such as this.
And if you're already using emails, that should be good enough.

WooCommerce - Make shipping address default store address

I am wanting to make the default shipping address on WooCommerce the same as the store address. There is no solution for reverse logistics and this seems the quickest way around it. Customers pay to ship their items to us which in turn is sent directly to our courier where they can print off shipping labels.
I found Assign Dokan vendor shipping address to store address in Woocommerce related answer by #LoicTheAztec, but it does not seem to be working so I am a little stuck.
Edit
I spoke too soon, I got it to work removing current_user_can( 'vendor' ) from all IF statements. Thank you #LoicTheAztec

Order creation adds unwanted shipping bucket

The case is following, we have a basket on which we have set only one shipping method, and which at point before order creation contains only one shipping bucket, with shipping method named "pickup".
There are 3 products in cart, two normally added products and one free gift which is added automatically with basket calculation.
This state is in pictured here:
After the order creation process (chain handlers for order creation are enabled), order contains two shipping buckets, one containing application default delivery method which is named "delivery", this is wrong and we don't want that to happen but don't know how to control it. One shipping bucket contains free gift and other contains other products. This state is displayed here:
How can we prevent having another shipping bucket being created for free gift?
EDIT: Intershop version is 7.10.15.3
I am unable to reproduce the problem on 7.10.15.2 with the standard demo shop. It is hard to say if this is a bug or a configuration problem. Can you try to reproduce this issue on an inspired demo shop?
Make sure the free gift item has the same shipping address (on line item level), shipping method and is in the same freight class as the other products.
If the problem is in the OrderCreationChain then have a look at the handlers.
Using this dev tool (only for development env)
/INTERSHOP/web/WFS/inSPIRED-inTRONICS-Site/en_US/-/USD/InspectHandlerChains-Start
There must then be a handler in that chain that creates this second bucket. Hope this helps in finding the problem.

Google Checkout: specifying a shipping address

With Google Checkout, is there any way to pass in a default shipping address that can't be changed?
I don't want the user to change this as the tax and shipping options are already calculated in the application. Web services from google to my application aren't an option either for other reasons that I don't need to get into.
Thanks.
Edit
I'm using version 2.5, and the GCheckout project 2.5.0.3 (.Net sample code library) to generate the checkout button. I don't see any options on the CheckoutShoppingCartRequest object to specify a shipping address.
It's a roundabout way, but I think you can add a merchant-calculated shipping method with your precalculated shipping, and set ShippingRestrictions on that method. Your restrictions can limit to certain zip codes, so if you limit it to only the zipcode that the user specified, it should prevent them using this shipping method against any other address.

ubercart + paypal payments... 2 questions

I'm planning to use paypal payment method together with ubercart, in order to not have to take care about security issues.
1)
I need to store the customers addresses in order to know where to ship the products.
I was wondering if I can let customer insert the addresses in paypal, and then somehow get them, or I should ask the customer to fill this information in the website instead... how ?
2) I need to test the checkout process. Is paypal offering a "testing proccess" in which I can see what happen without inserting credit cards numbers ?
thanks
1) People must give a delivery and billing adress in ubercart during checkout. There is also a nifty module wich let's user store different adresses and then choose wich one they want when checking out: http://drupal.org/project/uc_addresses
2) Yes, you can choose this option in the ubercart paypal module settings(sandbox mode) and you need to register here: https://developer.paypal.com/

Resources