How do I know which customer paid which bill?

Felix Ding's Avatar

Felix Ding

15 Dec, 2011 07:16 AM

As soon as the customer goes to the hosted page on cheddargetter, his profile has nothing to do with our (as a merchant) user database. So how do we know who have paid what? I guess there should be something like unique identifiers?

  1. Support Staff 1 Posted by Marc Guyer on 15 Dec, 2011 03:03 PM

    Marc Guyer's Avatar

    I guess there should be something like unique identifiers?

    Correct. This is what the customer code is for. Check out the docs for hosted pages here: http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay...

  2. 2 Posted by Felix Ding on 16 Dec, 2011 02:43 AM

    Felix Ding's Avatar

    Thanks, I get it.

    The following question is how to get the return from cheddar getter? I have set the "Transaction Post Hook" but in Paypal simulation cheddar getter didn't post back.

  3. 3 Posted by Felix Ding on 16 Dec, 2011 03:18 AM

    Felix Ding's Avatar

    One more question.

    After reading the discussions here and there I found that I probably need to check the customer status after CG redirects the customer to my website. Is it correct?

    The problem is the API ("https://yoursite.chargevault.com/status?key=a1b2c3d4e6&code=you...") always throws an error saying "400: Customer key is invalid", no matter what the Customer Code is.

  4. Support Staff 4 Posted by Marc Guyer on 16 Dec, 2011 02:56 PM

    Marc Guyer's Avatar

    The following question is how to get the return from cheddar getter? I have set the "Transaction Post Hook" but in Paypal simulation cheddar getter didn't post back.

    The transaction hook only fires when there is a transaction. Is there a transaction in your workflow or is the first transaction on the subscription delayed?

    After reading the discussions here and there I found that I probably need to check the customer status after CG redirects the customer to my website. Is it correct?

    Yes, that is recommended.

    The problem is the API ("https://yoursite.chargevault.com/status?key=a1b2c3d4e6&code=you...") always throws an error saying "400: Customer key is invalid", no matter what the Customer Code is.

    That URL is an example. Are you using your own url (https://catalogim.chargevault.com/status?key=[GENERATED_KEY]&co...). Also, are you creating the key properly? Here's some documentation on that: http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay.... That's the customer "update" section but generation of the key is the same for status lookup.

  5. 5 Posted by Felix Ding on 16 Dec, 2011 04:38 PM

    Felix Ding's Avatar
    1. There is no post back on transactions. I only get you post back by clicking "test" on the settings page;
    2. Of course I've changed the key as well as customer code to buid my own URL, it just doesn't work. And yes, I've read the documentation several times, I really did.

    I should make it clear that I am using a developer plan, can this be the reason that neither post hook nor status check works? Since the transaction is fake.

  6. Support Staff 6 Posted by Marc Guyer on 16 Dec, 2011 09:37 PM

    Marc Guyer's Avatar

    There is no post back on transactions. I only get you post back by clicking "test" on the settings page;

    When looking at your account, I see two customers. Neither of them have transactions. Their initial bills are set to execute in one month. This is because the pricing plans are set to delay the first bill. You can make advanced changes to your plans here: https://cheddargetter.com/admin/plans if you wish to change your plans to bill on signup (or otherwise make changes).

    Of course I've changed the key as well as customer code to buid my own URL, it just doesn't work. And yes, I've read the documentation several times, I really did.

    There are convenience links to hosted pages for each customer on the customer detail page in the gui. Here's an example of one of your customer's detail pages: https://cheddargetter.com/admin/customers/get/id/38cf8a9c-278f-11e1.... The two convenience links are for "update" and "cancel". You can switch the word update or cancel to "status" and it becomes a status URL. That should help you verify whether your not you're are generating the key correctly.

  7. 7 Posted by Felix Ding on 17 Dec, 2011 02:08 AM

    Felix Ding's Avatar

    Ah! I see. So the problem is we have different understandings about what a "transaction" is!

    Thank you and have a happy weekend!

  8. Marc Guyer closed this discussion on 18 Dec, 2011 03:23 PM.

  9. Felix Ding re-opened this discussion on 19 Dec, 2011 02:46 AM

  10. 8 Posted by Felix Ding on 19 Dec, 2011 02:46 AM

    Felix Ding's Avatar

    Well, your documentation is definitely MISLEADING!

    http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay...

    In the Ruby example you use "product_code", which should be "Product Secret Key". It costed me hours to figure it out.

  11. Support Staff 9 Posted by Marc Guyer on 19 Dec, 2011 02:27 PM

    Marc Guyer's Avatar

    Hi Felix -- Thanks for the suggestion! We've updated that variable name to be more descriptive.

  12. Marc Guyer closed this discussion on 19 Dec, 2011 02:27 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM