• Resolved wesleyblack12

    (@wesleyblack12)


    Hello,
    I tried to figure this out without bothering you. I hope you can help.
    I have set the return url in paypal to a file-upload page. Once a user pays, they need to provide their file for printing.

    However, no matter what I try, it takes me to the checkout page after a transaction.

    On a sidenote: the cart never empties. Should it?

    Thanks!

    http://wordpress.org/extend/plugins/simple-cart-buy-now/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bluey80

    (@bluey80)

    SCAB sets the return page to be checkout page via PDT. If you remove the PDT token in SCABN’s config, it should not set the return page and then you can handle that elsewhere. Alternatively, you can use the checkout return page and repurpose it:

    If you look at templates/default.php where is a function called display_aypal_receipt — that handles what SCABN outputs when a use goes back to your site after a successfully payment. Copy that file to SOMETHING.php and configure SCABN to use template SOMETHING and then edit SOMETHING.php can have your code for uploading a file, etc. (Or a redirect page if you want to handle that elsewhere).

    Thread Starter wesleyblack12

    (@wesleyblack12)

    Aside from this, I’ll need to add a weight field to each option in the drop down. I have made my first attempt, but gave up as it’s beyond my level of php / wordpress plugin sophistication.

    Are you available for hire to perform modifications to the plugin?

    Thread Starter wesleyblack12

    (@wesleyblack12)

    I have taken your something.php advice above. When I return to the checkout page, it does not show the information from the function in the created template.

    Thread Starter wesleyblack12

    (@wesleyblack12)

    PS: I am not using https. Should PDT work ok without https configured?

    Plugin Author bluey80

    (@bluey80)

    To see the ‘receipt’ page, you need to pass (via POST or GET) the txn transaction number — Paypal redirects the customers to return to the checkout page with this variable set and SCABN’s uses the transaction number to verify the order, etc. If no tnx is set, it processes the page like a regular checkout page.

    I don’t believe https is required for PDT.

    Thread Starter wesleyblack12

    (@wesleyblack12)

    Great, thanks!

    I have the tx code coming back from paypal sandbox.

    http://f1p.co/checkout/?tx=8NK12162TE452883R&st=Completed&amt=979%2e00&cc=USD&cm=&item_number=

    but…

    Checkout

    PAYPAL FAILED TO RECOGNIZE ORDER — MAYBE ORDER TOO OLD OR DOES NOT EXIST.

    any ideas?

    Thread Starter wesleyblack12

    (@wesleyblack12)

    I tried it outside of sandbox using live tx… same error is displaying.

    http://f1p.co/checkout/?tx=41763292JK3941143&st=Completed&amt=0%2e03&cc=USD&cm=&item_number=

    It seems like I’m close to having this working properly. Something is still not in line.

    Thanks for your help so far.

    Thread Starter wesleyblack12

    (@wesleyblack12)

    It’s working! turns out my token was truncated. Thanks again!

    Plugin Author bluey80

    (@bluey80)

    Glad it is working.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Paypal Return URL – goes to checkout page’ is closed to new replies.