Transmettre des données à une page de paiement

The most important piece of information to pass to a checkout page is what the customer is purchasing so that the form can be appropriately configured, but sometimes you may want to pass additional data that you want associated with the customer’s order. MemberMouse supports passing informations sur les affiliés, a code promoindicateur de dondonnées clients et données des champs personnalisés.

Informations sur les affiliés

MemberMouse’s affiliate tracking system integrates seamlessly with checkout pages. It provides a powerful way to track incoming traffic to your site from multiple sources. One of the advantages of MemberMouse’s integrated tracking is that you can send traffic to any page on the site at the same time. For example, if you’re sending an affiliate email you can include tracking links to your landing page, blog, sales page, and more in a single email.

Cet article vous montrera comment créer des liens d'affiliation.

Code des coupons

Sometimes it may be useful to pass a default coupon code to the checkout page. Maybe you’ve sent out an email with a limited time offer to your members and you want the discount to be applied as soon as they hit the checkout page or maybe you’ve created a banner ad for an affiliate partner and you want to offer their members a discount to get them to sign up. For both cases, you can simply pass the coupon to the checkout page by using the keyword ‘coupon’.

Say you have a coupon code ‘WINTERSALE12’ set up. To apply it automatically to your checkout page, just use the following format:

http://yourdomain.com/checkout/?coupon=WINTERSALE12

ou s'il se trouve à la fin de l'ID d'un produit :

http://yourdomain.com/checkout/?rid=p2w15K&coupon=WINTERSALE12

When a customer clicks on this link they’ll be taken to the checkout page and the WINTERSALE12 coupon will automatically be applied to their order.

Indicateur de don

You may want to indicate that the product being purchased is as a gift. In this cases, you can simply indicate this by using the keyword ‘gift’ and setting the value to ‘yes’:

http://yourdomain.com/checkout/?gift=yes

ou s'il se trouve à la fin de l'ID d'un produit :

http://yourdomain.com/checkout/?rid=p2w15K&gift=yes

When a customer clicks on this link they’ll be taken to the checkout page and as long as the gift check box is present on the form (MM_Form_Field type=’input’ name=’gift’), it will automatically be checked.

Données sur les clients

There may be a case where you want to pass certain pieces of customer data to the checkout page so that it gets pre-populated in the form. Maybe you collected this data somewhere else and as a convenience you pass it to the form to be pre-populated so the customer doesn’t have to enter it again.

MemberMouse prend en charge le transfert des données client à la page de paiement par le biais des méthodes GET et POST. Pour chaque paramètre que vous souhaitez transmettre, vous devez l'ajouter à l'URL de la page de paiement dans le format suivant :

nom_du_paramètre=valeur

Where ‘parameter_name’ is the name of one of the supported parameters and ‘value’ is the default value to want to use for that parameter.

Vous trouverez ci-dessous une liste des paramètres de données clients pris en charge :

  • prénom – customer’s first name
  • nom de famille – customer’s last name
  • courriel – customer’s email address
  • téléphone – customer’s phone number
  • adresse_de_facturation – customer’s billing address
  • ville_de_facturation – customer’s billing city
  • état de la facturation – customer’s billing state
  • code postal de facturation – customer’s billing zip code
  • pays de facturation – customer’s billing country
  • adresse_d'expédition – customer’s shipping address
  • ville_d'expédition – customer’s shipping city
  • état_de_livraison – customer’s shipping state
  • code postal d'expédition – customer’s shipping zip code
  • pays d'expédition – customer’s shipping country
Données des champs personnalisés

MemberMouse vous permet de créer des champs personnalisés in order to associate additional data with each member’s account. Maybe you’re running a membership site related to fitness and you want to know a member’s current and target weight. Maybe you want to store marketing data related to Google AdWords campaigns.

Whatever it is you want to collect in addition to MemberMouse’s default member data you can do so by using custom fields. If you’ve inclure des champs personnalisés dans votre page de paiement vous pouvez pré-remplir ces champs en appelant l'URL de la page de paiement dans le format suivant :

http://yourdomain.com/checkout/?cf_1=banner-20&cf_2=membership

In this example, we’re passing two parameters to the checkout page: ‘cf_1’ and ‘cf_2’ with the values of ‘banner-20’ and ‘membership’, respectively.

Custom fields are identified by the ID assigned to them in MemberMouse. In the above example, we’re pre-populating the custom fields with IDs 1 and 2. If we want to pre-populate the custom field associated with ID 16 we would call the checkout page URL as follows:

http://yourdomain.com/checkout/?cf_16=male

Cet article a-t-il été utile ?

Articles connexes

Vous ne trouvez pas la réponse que vous cherchez ?

Contactez notre équipe chargée de la réussite des clients
Contactez nous !