Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not sure how to markup accepted payment methods for an offer.

Here are the Schema.org types:

Here is my basic example, is this correct?

<div itemscope="" itemtype="http://schema.org/Product">
    <span itemprop="name">Product Name</span>

    <span itemprop="description">Product Description</span>

    <div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
      <span itemprop="price">$19.95</span>
      <meta itemprop="priceCurrency" content="USD" />
      <meta itemprop="availability" content="in_stock" />
      <a href="/buy-now" itemprop="url">Buy Now</a>
      <meta itemprop="acceptedPaymentMethod" content="http://purl.org/goodrelations/v1#PayPal" />
      <meta itemprop="acceptedPaymentMethod" content=" http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />
share|improve this question
Did you try this with rich snippets tool and see if the bot was able to correctly identify? – Prasad Jan 9 '13 at 14:16
Yes I did, it pulls out a list of values. For example acceptedpaymentmethod:purl.org/goodrelations/v1#PayPal – Cogslave Jan 9 '13 at 14:36
up vote 3 down vote accepted

The basic direction is correct, but you must use <link> and href=... instead of meta, since the value is a URL/URI, not a string:

<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PayPal" />
<link itemprop="acceptedPaymentMethod" href=" http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />

The rest looks fine at first sight.

share|improve this answer

About your HTML:

About your Schema.org:

So the example could look like:

<article itemscope="" itemtype="http://schema.org/Product">
  <h1 itemprop="name">Product Name</h1>

  <p itemprop="description">Product Description</p>

  <div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
    $<span itemprop="price">19.95</span>
    <meta itemprop="priceCurrency" content="USD" />
    <link itemprop="availability" href="http://schema.org/InStock" />
    <div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/BuyAction">
      <a itemprop="target" href="/buy-now">Buy Now</a>
    <link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PayPal" />
    <link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.